protected function EntityViewBuilder::alterBuild in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityViewBuilder.php \Drupal\Core\Entity\EntityViewBuilder::alterBuild()
Specific per-entity building.
Parameters
array $build: The render array that is being created.
\Drupal\Core\Entity\EntityInterface $entity: The entity to be prepared.
\Drupal\Core\Entity\Display\EntityViewDisplayInterface $display: The entity view display holding the display options configured for the entity components.
string $view_mode: The view mode that should be used to prepare the entity.
5 calls to EntityViewBuilder::alterBuild()
- BlockContentViewBuilder::alterBuild in core/
modules/ block_content/ src/ BlockContentViewBuilder.php - Specific per-entity building.
- CommentViewBuilder::alterBuild in core/
modules/ comment/ src/ CommentViewBuilder.php - Specific per-entity building.
- EntityViewBuilder::buildMultiple in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Builds multiple entities' views; augments entity defaults.
- NodeViewBuilder::alterBuild in core/
modules/ node/ src/ NodeViewBuilder.php - Specific per-entity building.
- TermViewBuilder::alterBuild in core/
modules/ taxonomy/ src/ TermViewBuilder.php - Specific per-entity building.
4 methods override EntityViewBuilder::alterBuild()
- BlockContentViewBuilder::alterBuild in core/
modules/ block_content/ src/ BlockContentViewBuilder.php - Specific per-entity building.
- CommentViewBuilder::alterBuild in core/
modules/ comment/ src/ CommentViewBuilder.php - Specific per-entity building.
- NodeViewBuilder::alterBuild in core/
modules/ node/ src/ NodeViewBuilder.php - Specific per-entity building.
- TermViewBuilder::alterBuild in core/
modules/ taxonomy/ src/ TermViewBuilder.php - Specific per-entity building.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php, line 328 - Contains \Drupal\Core\Entity\EntityViewBuilder.
Class
- EntityViewBuilder
- Base class for entity view builders.
Namespace
Drupal\Core\EntityCode
protected function alterBuild(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display, $view_mode) {
}