summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-08 04:25:07 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-08 04:25:07 +0000
commitddc2604d694892f6576a5cfa970a4bcfda6ec270 (patch)
tree19ea28561e1c99c287f4a040adf98740903cb2da /modules/field
parentad84a92662cea2c8ad2e1d29ccdc7234627d4a51 (diff)
downloadbrdo-ddc2604d694892f6576a5cfa970a4bcfda6ec270.tar.gz
brdo-ddc2604d694892f6576a5cfa970a4bcfda6ec270.tar.bz2
#383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X.
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.default.inc2
-rw-r--r--modules/field/field.module2
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc
index 825c9571f..511b7bcbe 100644
--- a/modules/field/field.attach.inc
+++ b/modules/field/field.attach.inc
@@ -512,7 +512,7 @@ function _field_attach_preprocess($obj_type, &$object) {
}
/**
- * Implementation of hook_nodeapi_prepare_translation.
+ * Implementation of 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 2a44f5817..e7cfbeb8c 100644
--- a/modules/field/field.autoload.inc
+++ b/modules/field/field.autoload.inc
@@ -251,7 +251,7 @@ function field_attach_preprocess($obj_type, &$object) {
}
/**
- * Implementation of hook_nodeapi_prepare_translation.
+ * Implementation of hook_node_prepare_translation.
*
* TODO D7: We do not yet know if this really belongs in Field API.
*
diff --git a/modules/field/field.default.inc b/modules/field/field.default.inc
index 30e843401..1d01286d4 100644
--- a/modules/field/field.default.inc
+++ b/modules/field/field.default.inc
@@ -69,7 +69,7 @@ function field_default_submit($obj_type, &$object, $field, $instance, &$items, $
* '#field_name' => 'field_name',
* '#object' => $object,
* '#object_type' => $obj_type,
- * // Value of the $teaser param of hook_nodeapi('view').
+ * // Value of the $teaser param of hook_node('view').
* '#teaser' => $teaser,
* 'items' =>
* 0 => array(
diff --git a/modules/field/field.module b/modules/field/field.module
index 55489c055..a6f111a45 100644
--- a/modules/field/field.module
+++ b/modules/field/field.module
@@ -461,7 +461,7 @@ function field_format($obj_type, $object, $field, $item, $formatter_name = NULL,
* The object containing the field to display. Must at least contain the id key,
* revision key (if applicable), bundle key, and the field data.
* @param $teaser
- * Similar to hook_nodeapi('view')
+ * Similar to hook_node('view')
* @return
* The themed output for the field.
*/