public EntityViewDisplayInterface::build(FieldableEntityInterface $entity)
Builds a renderable array for the components of an entity.
See the buildMultiple() method for details.
\Drupal\Core\Entity\FieldableEntityInterface $entity: The entity being displayed.
array A renderable array for the entity.
\Drupal\Core\Entity\Display\EntityViewDisplayInterface::buildMultiple()
public function build(FieldableEntityInterface $entity);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Display!EntityViewDisplayInterface.php/function/EntityViewDisplayInterface::build/8.1.x