Commit f154a0e0 authored by webchick's avatar webchick

Issue #2547933 by googletorp, jhodgdon: Code example for non deprecated use of...

Issue #2547933 by googletorp, jhodgdon: Code example for non deprecated use of entity_get_display is wrong
parent 25f26ed1
......@@ -449,7 +449,7 @@ function entity_view_multiple(array $entities, $view_mode, $langcode = NULL, $re
* When the display is not available in configuration, you can create a new
* EntityViewDisplay object using:
* @code
* $values = ('entity_view_display', array(
* $values = array(
* 'targetEntityType' => $entity_type,
* 'bundle' => $bundle,
* 'mode' => $view_mode,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment