public function EntityViewDisplayInterface::build in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Display/EntityViewDisplayInterface.php \Drupal\Core\Entity\Display\EntityViewDisplayInterface::build()
Builds a renderable array for the components of an entity.
See the buildMultiple() method for details.
Parameters
\Drupal\Core\Entity\FieldableEntityInterface $entity: The entity being displayed.
Return value
array A renderable array for the entity.
See also
\Drupal\Core\Entity\Display\EntityViewDisplayInterface::buildMultiple()
1 method overrides EntityViewDisplayInterface::build()
- EntityViewDisplay::build in core/
lib/ Drupal/ Core/ Entity/ Entity/ EntityViewDisplay.php - Builds a renderable array for the components of an entity.
File
- core/
lib/ Drupal/ Core/ Entity/ Display/ EntityViewDisplayInterface.php, line 30 - Contains \Drupal\Core\Entity\Display\EntityViewDisplayInterface.
Class
- EntityViewDisplayInterface
- Provides a common interface for entity view displays.
Namespace
Drupal\Core\Entity\DisplayCode
public function build(FieldableEntityInterface $entity);