From ddc2604d694892f6576a5cfa970a4bcfda6ec270 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 8 Mar 2009 04:25:07 +0000 Subject: #383066 by David Strauss: Rename hook_nodeapi_X to hook_node_X. --- modules/field/field.attach.inc | 2 +- modules/field/field.autoload.inc | 2 +- modules/field/field.default.inc | 2 +- modules/field/field.module | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/field') 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. */ -- cgit v1.2.3