You are here

public function ViewsParityRowEntityRow::__construct in Views Parity Row 8

Constructs a ViewsEntityRow object.

Parameters

string $base_plugin_id: The base plugin ID.

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

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

File

src/Plugin/Derivative/ViewsParityRowEntityRow.php, line 59

Class

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

Namespace

Drupal\views_parity_row\Plugin\Derivative

Code

public function __construct($base_plugin_id, EntityTypeManagerInterface $entity_type_manager, ViewsData $views_data) {
  $this->basePluginId = $base_plugin_id;
  $this->entityTypeManager = $entity_type_manager;
  $this->viewsData = $views_data;
}