public function EntityReference::execute

Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::execute().

Overrides DisplayPluginBase::execute

File

drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/display/EntityReference.php, line 94
Contains \Drupal\entity_reference\Plugin\views\display\EntityReference.

Class

EntityReference
The plugin that handles an EntityReference display.

Namespace

Drupal\entity_reference\Plugin\views\display

Code

public function execute() {
  return $this->view
    ->render($this->display['id']);
}