W3cubDocs

/Drupal 8

interface EntityViewBuilderInterface

Defines an interface for entity view builders.

Hierarchy

Related topics

Entity API
Describes how to define and manipulate content and configuration entities.

File

core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php, line 13

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
EntityViewBuilderInterface::buildComponents public function Builds the component fields and properties of a set of entities.
EntityViewBuilderInterface::getCacheTags public function The cache tag associated with this entity view builder.
EntityViewBuilderInterface::resetCache public function Resets the entity render cache.
EntityViewBuilderInterface::view public function Builds the render array for the provided entity.
EntityViewBuilderInterface::viewField public function Builds a renderable array for the value of a single field in an entity.
EntityViewBuilderInterface::viewFieldItem public function Builds a renderable array for a single field item.
EntityViewBuilderInterface::viewMultiple public function Builds the render array for the provided entities.

© 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!EntityViewBuilderInterface.php/interface/EntityViewBuilderInterface/8.1.x