Issue #1194480 by James_Stallings, jhodgdon: Fixed field_default_view() doc has problems.

merge-requests/26/head
webchick 2011-07-28 15:50:58 -04:00
parent c6cc662e2d
commit 73db412ca9
1 changed files with 5 additions and 6 deletions

View File

@ -168,17 +168,16 @@ function field_default_prepare_view($entity_type, $entities, $field, $instances,
}
/**
* Builds a renderable array for field values.
* Builds a renderable array for one field on one entity instance.
*
* @param $entity_type
* The type of $entity; e.g. 'node' or 'user'.
* @param $entities
* An array of entities being displayed, keyed by entity id.
* @param $entity
* A single object of type $entity_type.
* @param $field
* The field structure for the operation.
* @param $instances
* Array of instance structures for $field for each entity, keyed by entity
* id.
* @param $instance
* An array containing each field on $entity's bundle.
* @param $langcode
* The language associated to $items.
* @param $items