summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-27 18:34:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-27 18:34:03 +0000
commit0f4060f377a6ccea57a183b3c3e4801c450f5476 (patch)
tree07a7bd87373613f3e884c8f56bfb9911eda38511 /modules/field
parent5bdcc4ada232bf92e3d529962d9f7aa2536605cc (diff)
downloadbrdo-0f4060f377a6ccea57a183b3c3e4801c450f5476.tar.gz
brdo-0f4060f377a6ccea57a183b3c3e4801c450f5476.tar.bz2
- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/field.attach.inc2
-rw-r--r--modules/field/field.autoload.inc2
-rw-r--r--modules/field/field.install4
-rw-r--r--modules/field/field.module18
-rw-r--r--modules/field/modules/field_sql_storage/field_sql_storage.install6
-rw-r--r--modules/field/modules/field_sql_storage/field_sql_storage.module18
-rw-r--r--modules/field/modules/list/list.module12
-rw-r--r--modules/field/modules/number/number.module20
-rw-r--r--modules/field/modules/options/options.module10
-rw-r--r--modules/field/modules/text/text.module20
10 files changed, 56 insertions, 56 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index 82710c70e..c0b1ac879 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -702,7 +702,7 @@ function _field_attach_preprocess($obj_type, &$object) {
}
/**
- * Implementation of hook_node_prepare_translation.
+ * Implement hook_node_prepare_translation.
*
* TODO D7: We do not yet know if this really belongs in Field API.
*/
diff --git a/modules/field/field.autoload.inc b/modules/field/field.autoload.inc
index 3ea8754cd..b7b026d79 100644
--- a/modules/field/field.autoload.inc
+++ b/modules/field/field.autoload.inc
@@ -292,7 +292,7 @@ function field_attach_preprocess($obj_type, &$object) {
}
/**
- * Implementation of hook_node_prepare_translation.
+ * Implement hook_node_prepare_translation.
*
* TODO D7: We do not yet know if this really belongs in Field API.
*
diff --git a/modules/field/field.install b/modules/field/field.install
index 539f120d3..b13db7514 100644
--- a/modules/field/field.install
+++ b/modules/field/field.install
@@ -7,14 +7,14 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function field_install() {
drupal_install_schema('field');
}
/**
- * Implementation of hook_schema.
+ * Implement hook_schema.
*/
function field_schema() {
// Static (meta) tables.
diff --git a/modules/field/field.module b/modules/field/field.module
index 11795afa1..c86ac521f 100644
--- a/modules/field/field.module
+++ b/modules/field/field.module
@@ -88,14 +88,14 @@ define('FIELD_LOAD_REVISION', 'FIELD_LOAD_REVISION');
class FieldException extends Exception {}
/**
- * Implementation of hook_flush_caches.
+ * Implement hook_flush_caches.
*/
function field_flush_caches() {
return array('cache_field');
}
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function field_help($path, $arg) {
switch ($path) {
@@ -107,7 +107,7 @@ function field_help($path, $arg) {
}
/**
- * Implementation of hook_init().
+ * Implement hook_init().
*
* TODO D7: Determine which functions need to always be "loaded", and
* put autoloaders for them into field.autoload.inc. Also figure out
@@ -120,7 +120,7 @@ function field_init() {
}
/**
- * Implementation of hook_menu().
+ * Implement hook_menu().
*/
function field_menu() {
$items = array();
@@ -136,7 +136,7 @@ function field_menu() {
}
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function field_theme() {
$path = drupal_get_path('module', 'field') . '/theme';
@@ -161,14 +161,14 @@ function field_theme() {
}
/**
- * Implementation of hook_modules_installed().
+ * Implement hook_modules_installed().
*/
function field_modules_installed($modules) {
field_cache_clear();
}
/**
- * Implementation of hook_modules_uninstalled().
+ * Implement hook_modules_uninstalled().
*/
function field_modules_uninstalled($modules) {
module_load_include('inc', 'field', 'field.crud');
@@ -179,7 +179,7 @@ function field_modules_uninstalled($modules) {
}
/**
- * Implementation of hook_modules_enabled().
+ * Implement hook_modules_enabled().
*/
function field_modules_enabled($modules) {
foreach ($modules as $module) {
@@ -189,7 +189,7 @@ function field_modules_enabled($modules) {
}
/**
- * Implementation of hook_modules_disabled().
+ * Implement hook_modules_disabled().
*/
function field_modules_disabled($modules) {
foreach ($modules as $module) {
diff --git a/modules/field/modules/field_sql_storage/field_sql_storage.install b/modules/field/modules/field_sql_storage/field_sql_storage.install
index b31a94539..450029e4b 100644
--- a/modules/field/modules/field_sql_storage/field_sql_storage.install
+++ b/modules/field/modules/field_sql_storage/field_sql_storage.install
@@ -7,21 +7,21 @@
*/
/**
- * Implementation of hook_install().
+ * Implement hook_install().
*/
function field_sql_storage_install() {
drupal_install_schema('field_sql_storage');
}
/**
- * Implementation of hook_uninstall().
+ * Implement hook_uninstall().
*/
function field_sql_storage_uninstall() {
drupal_uninstall_schema('field_sql_storage');
}
/**
- * Implementation of hook_schema().
+ * Implement hook_schema().
*/
function field_sql_storage_schema() {
$schema = array();
diff --git a/modules/field/modules/field_sql_storage/field_sql_storage.module b/modules/field/modules/field_sql_storage/field_sql_storage.module
index 51a82308a..add36edf1 100644
--- a/modules/field/modules/field_sql_storage/field_sql_storage.module
+++ b/modules/field/modules/field_sql_storage/field_sql_storage.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_help().
+ * Implement hook_help().
*/
function field_sql_storage_help($path, $arg) {
switch ($path) {
@@ -177,7 +177,7 @@ function _field_sql_storage_schema($field) {
}
/**
- * Implementation of hook_field_storage_create_field().
+ * Implement hook_field_storage_create_field().
*/
function field_sql_storage_field_storage_create_field($field) {
$schema = _field_sql_storage_schema($field);
@@ -187,7 +187,7 @@ function field_sql_storage_field_storage_create_field($field) {
}
/**
- * Implementation of hook_field_storage_delete_field().
+ * Implement hook_field_storage_delete_field().
*/
function field_sql_storage_field_storage_delete_field($field_name) {
// Mark all data associated with the field for deletion.
@@ -198,7 +198,7 @@ function field_sql_storage_field_storage_delete_field($field_name) {
}
/**
- * Implementation of hook_field_storage_load().
+ * Implement hook_field_storage_load().
*/
function field_sql_storage_field_storage_load($obj_type, &$objects, $age, $skip_fields = array()) {
$etid = _field_sql_storage_etid($obj_type);
@@ -248,7 +248,7 @@ function field_sql_storage_field_storage_load($obj_type, &$objects, $age, $skip_
}
/**
- * Implementation of hook_field_storage_write().
+ * Implement hook_field_storage_write().
*/
function field_sql_storage_field_storage_write($obj_type, $object, $op, $skip_fields) {
list($id, $vid, $bundle) = field_attach_extract_ids($obj_type, $object);
@@ -323,7 +323,7 @@ function field_sql_storage_field_storage_write($obj_type, $object, $op, $skip_fi
}
/**
- * Implementation of hook_field_storage_delete().
+ * Implement hook_field_storage_delete().
*
* This function actually deletes the data from the database.
*/
@@ -348,7 +348,7 @@ function field_sql_storage_field_storage_delete($obj_type, $object) {
}
/**
- * Implementation of hook_field_storage_delete_revision().
+ * Implement hook_field_storage_delete_revision().
*
* This function actually deletes the data from the database.
*/
@@ -371,7 +371,7 @@ function field_sql_storage_field_storage_delete_revision($obj_type, $object) {
}
/**
- * Implementation of hook_field_storage_delete_instance().
+ * Implement hook_field_storage_delete_instance().
*
* This function simply marks for deletion all data associated with the field.
*/
@@ -389,7 +389,7 @@ function field_sql_storage_field_storage_delete_instance($field_name, $bundle) {
}
/**
- * Implementation of hook_field_storage_rename_bundle().
+ * Implement hook_field_storage_rename_bundle().
*/
function field_sql_storage_field_storage_rename_bundle($bundle_old, $bundle_new) {
$instances = field_info_instances($bundle_old);
diff --git a/modules/field/modules/list/list.module b/modules/field/modules/list/list.module
index 615165f41..6ad2fbcd3 100644
--- a/modules/field/modules/list/list.module
+++ b/modules/field/modules/list/list.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function list_theme() {
return array(
@@ -21,7 +21,7 @@ function list_theme() {
}
/**
- * Implementation of hook_field_info().
+ * Implement hook_field_info().
*/
function list_field_info() {
return array(
@@ -57,7 +57,7 @@ function list_field_info() {
}
/**
- * Implementation of hook_field_schema().
+ * Implement hook_field_schema().
*/
function list_field_schema($field) {
switch ($field['type']) {
@@ -98,7 +98,7 @@ function list_field_schema($field) {
}
/**
- * Implementation of hook_field_validate().
+ * Implement hook_field_validate().
*
* Possible error codes:
* - 'list_illegal_value': The value is not part of the list of allowed values.
@@ -118,7 +118,7 @@ function list_field_validate($obj_type, $object, $field, $instance, $items, &$er
}
/**
- * Implementation of hook_field_is_empty().
+ * Implement hook_field_is_empty().
*/
function list_field_is_empty($item, $field) {
if (empty($item['value']) && (string)$item['value'] !== '0') {
@@ -128,7 +128,7 @@ function list_field_is_empty($item, $field) {
}
/**
- * Implementation of hook_field_formatter_info().
+ * Implement hook_field_formatter_info().
*/
function list_field_formatter_info() {
return array(
diff --git a/modules/field/modules/number/number.module b/modules/field/modules/number/number.module
index 34bfd9eae..15daaa504 100644
--- a/modules/field/modules/number/number.module
+++ b/modules/field/modules/number/number.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function number_theme() {
return array(
@@ -19,7 +19,7 @@ function number_theme() {
}
/**
- * Implementation of hook_field_info().
+ * Implement hook_field_info().
*/
function number_field_info() {
return array(
@@ -49,7 +49,7 @@ function number_field_info() {
}
/**
- * Implementation of hook_field_schema().
+ * Implement hook_field_schema().
*/
function number_field_schema($field) {
switch ($field['type']) {
@@ -88,7 +88,7 @@ function number_field_schema($field) {
}
/**
- * Implementation of hook_field_validate().
+ * Implement hook_field_validate().
*
* Possible error codes:
* - 'number_min': The value is smaller than the allowed minimum value.
@@ -114,7 +114,7 @@ function number_field_validate($obj_type, $node, $field, $instance, $items, &$er
}
/**
- * Implementation of hook_content_is_empty().
+ * Implement hook_content_is_empty().
*/
function number_field_is_empty($item, $field) {
if (empty($item['value']) && (string)$item['value'] !== '0') {
@@ -124,7 +124,7 @@ function number_field_is_empty($item, $field) {
}
/**
- * Implementation of hook_field_formatter_info().
+ * Implement hook_field_formatter_info().
*/
function number_field_formatter_info() {
return array(
@@ -199,7 +199,7 @@ function theme_field_formatter_number($element) {
}
/**
- * Implementation of hook_field_widget_info().
+ * Implement hook_field_widget_info().
*
* Here we indicate that the Field module will handle
* multiple values for these widgets.
@@ -223,7 +223,7 @@ function number_field_widget_info() {
}
/**
- * Implementation of FAPI hook_elements().
+ * Implement FAPI hook_elements().
*
* Any FAPI callbacks needed for individual widgets can be declared here,
* and the element will be passed to those callbacks for processing.
@@ -245,7 +245,7 @@ function number_elements() {
}
/**
- * Implementation of hook_field_widget().
+ * Implement hook_field_widget().
*
* Attach a single form element to the form. It will be built out and
* validated in the callback(s) listed in hook_elements. We build it
@@ -282,7 +282,7 @@ function number_field_widget(&$form, &$form_state, $field, $instance, $items, $d
}
/**
- * Implementation of hook_field_widget_error().
+ * Implement hook_field_widget_error().
*/
function number_field_widget_error($element, $error) {
form_error($element['value'], $error['message']);
diff --git a/modules/field/modules/options/options.module b/modules/field/modules/options/options.module
index 686a3ce28..05f02d1ba 100644
--- a/modules/field/modules/options/options.module
+++ b/modules/field/modules/options/options.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function options_theme() {
return array(
@@ -27,7 +27,7 @@ function options_theme() {
}
/**
- * Implementation of hook_field_widget_info().
+ * Implement hook_field_widget_info().
*
* We need custom handling of multiple values because we need
* to combine them into a options list rather than display
@@ -70,7 +70,7 @@ function options_field_widget_info() {
}
/**
- * Implementation of FAPI hook_elements().
+ * Implement FAPI hook_elements().
*
* Any FAPI callbacks needed for individual widgets can be declared here,
* and the element will be passed to those callbacks for processing.
@@ -99,7 +99,7 @@ function options_elements() {
}
/**
- * Implementation of hook_field_widget().
+ * Implement hook_field_widget().
*/
function options_field_widget(&$form, &$form_state, $field, $instance, $items, $delta = NULL) {
$element = array(
@@ -110,7 +110,7 @@ function options_field_widget(&$form, &$form_state, $field, $instance, $items, $
}
/**
- * Implementation of hook_field_widget_error().
+ * Implement hook_field_widget_error().
*/
function options_field_widget_error($element, $error) {
$field_key = $element['#columns'][0];
diff --git a/modules/field/modules/text/text.module b/modules/field/modules/text/text.module
index a5cd9f35b..709c31185 100644
--- a/modules/field/modules/text/text.module
+++ b/modules/field/modules/text/text.module
@@ -7,7 +7,7 @@
*/
/**
- * Implementation of hook_theme().
+ * Implement hook_theme().
*/
function text_theme() {
return array(
@@ -30,7 +30,7 @@ function text_theme() {
}
/**
- * Implementation of hook_field_info().
+ * Implement hook_field_info().
*/
function text_field_info() {
return array(
@@ -55,7 +55,7 @@ function text_field_info() {
}
/**
- * Implementation of hook_field_schema().
+ * Implement hook_field_schema().
*/
function text_field_schema($field) {
if ($field['type'] == 'text_long') {
@@ -92,7 +92,7 @@ function text_field_schema($field) {
}
/**
- * Implementation of hook_field_validate().
+ * Implement hook_field_validate().
*
* Possible error codes:
* - 'text_max_length': The value exceeds the maximum length.
@@ -126,7 +126,7 @@ function text_field_sanitize($obj_type, $object, $field, $instance, &$items) {
}
/**
- * Implementation of hook_field_is_empty().
+ * Implement hook_field_is_empty().
*/
function text_field_is_empty($item, $field) {
if (empty($item['value']) && (string)$item['value'] !== '0') {
@@ -136,7 +136,7 @@ function text_field_is_empty($item, $field) {
}
/**
- * Implementation of hook_field_formatter_info().
+ * Implement hook_field_formatter_info().
*/
function text_field_formatter_info() {
return array(
@@ -188,7 +188,7 @@ function theme_field_formatter_text_trimmed($element) {
}
/**
- * Implementation of hook_field_widget_info().
+ * Implement hook_field_widget_info().
*
* Here we indicate that the field module will handle
* the default value and multiple values for these widgets.
@@ -222,7 +222,7 @@ function text_field_widget_info() {
}
/**
- * Implementation of FAPI hook_elements().
+ * Implement FAPI hook_elements().
*
* Any FAPI callbacks needed for individual widgets can be declared here,
* and the element will be passed to those callbacks for processing.
@@ -251,7 +251,7 @@ function text_elements() {
}
/**
- * Implementation of hook_field_widget().
+ * Implement hook_field_widget().
*
* Attach a single form element to the form. It will be built out and
* validated in the callback(s) listed in hook_elements. We build it
@@ -291,7 +291,7 @@ function text_field_widget(&$form, &$form_state, $field, $instance, $items, $del
}
/**
- * Implementation of hook_field_widget_error().
+ * Implement hook_field_widget_error().
*/
function text_field_widget_error($element, $error) {
form_error($element['value'], $error['message']);