You are here

public function PanelizerEntityInterface::get_entity_view_entity in Panelizer 7.3

Fetch the entity out of a build for hook_entity_view.

Parameters

$build: The render array that contains the entity.

1 method overrides PanelizerEntityInterface::get_entity_view_entity()
PanelizerEntityDefault::get_entity_view_entity in plugins/entity/PanelizerEntityDefault.class.php
Fetch the entity out of a build for hook_entity_view.

File

plugins/entity/PanelizerEntityDefault.class.php, line 260
Base class for the Panelizer Entity plugin.

Class

PanelizerEntityInterface
Interface to describe how PanelizerEntity plugin objects are implemented.

Code

public function get_entity_view_entity($build);