function ViewsEntityRow::__construct

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php \Drupal\views\Plugin\Derivative\ViewsEntityRow::__construct()
  2. 10 core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php \Drupal\views\Plugin\Derivative\ViewsEntityRow::__construct()
  3. 9 core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php \Drupal\views\Plugin\Derivative\ViewsEntityRow::__construct()
  4. 8.9.x core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php \Drupal\views\Plugin\Derivative\ViewsEntityRow::__construct()

Constructs a ViewsEntityRow object.

Parameters

string $basePluginId: The base plugin ID.

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

\Drupal\views\ViewsData $viewsData: The views data service.

File

core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php, line 39

Class

ViewsEntityRow
Provides views row plugin definitions for all non-special entity types.

Namespace

Drupal\views\Plugin\Derivative

Code

public function __construct(protected $basePluginId, protected EntityTypeManagerInterface $entityTypeManager, protected ViewsData $viewsData) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.