public function EntityRow::__construct

Parameters

\Drupal\Core\Entity\EntityManager $entity_manager: The entity manager.

Overrides PluginBase::__construct

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php, line 67
Contains \Drupal\views\Plugin\views\row\EntityRow.

Class

EntityRow
Generic entity row plugin to provide a common base for all entity types.

Namespace

Drupal\views\Plugin\views\row

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, EntityManager $entity_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->entityManager = $entity_manager;
}