Issue #2059785 by kiamlaluno, longwave: Fix punctuation in field_view_field() docs
parent
b84232ef39
commit
de79105a2f
|
@ -819,9 +819,9 @@ function field_view_value($entity_type, $entity, $field_name, $item, $display =
|
|||
*
|
||||
* This function can be used by third-party modules that need to output an
|
||||
* isolated field.
|
||||
* - Do not use inside node (or other entities) templates, use
|
||||
* - Do not use inside node (or any other entity) templates; use
|
||||
* render($content[FIELD_NAME]) instead.
|
||||
* - Do not use to display all fields in an entity, use
|
||||
* - Do not use to display all fields in an entity; use
|
||||
* field_attach_prepare_view() and field_attach_view() instead.
|
||||
* - The field_view_value() function can be used to output a single formatted
|
||||
* field value, without label or wrapping field markup.
|
||||
|
|
Loading…
Reference in New Issue