summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r--modules/field/field.api.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 4aec48407..52000d922 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -1030,7 +1030,7 @@ function hook_field_attach_delete_revision($obj_type, $object) {
* An associative array containing:
* - obj_type: The type of $object; e.g. 'node' or 'user'.
* - object: The object with fields to render.
- * - build_mode: Build mode, e.g. 'full', 'teaser'...
+ * - view_mode: View mode, e.g. 'full', 'teaser'...
* - langcode: The language in which the field values will be displayed.
*/
function hook_field_attach_view_alter(&$output, $context) {
@@ -1579,16 +1579,6 @@ function hook_field_read_instance($instance) {
**********************************************************************/
/**
- * TODO
- *
- * Note : Right now this belongs to the "Fieldable Type API".
- * Whether 'build modes' is actually a 'fields' concept is to be debated
- * in a separate overhaul patch for core.
- */
-function hook_field_build_modes($obj_type) {
-}
-
-/**
* Determine whether the user has access to a given field.
*
* @param $op