public function ViewsEntityRow::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Plugin/Derivative/ViewsEntityRow.php \Drupal\views\Plugin\Derivative\ViewsEntityRow::__construct()
Constructs a ViewsEntityRow object.
Parameters
string $base_plugin_id: The base plugin ID.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
\Drupal\views\ViewsData $views_data: The views data service.
File
- core/
modules/ views/ src/ Plugin/ Derivative/ ViewsEntityRow.php, line 62 - Contains \Drupal\views\Plugin\Derivative\ViewsEntityRow.
Class
- ViewsEntityRow
- Provides views row plugin definitions for all non-special entity types.
Namespace
Drupal\views\Plugin\DerivativeCode
public function __construct($base_plugin_id, EntityManagerInterface $entity_manager, ViewsData $views_data) {
$this->basePluginId = $base_plugin_id;
$this->entityManager = $entity_manager;
$this->viewsData = $views_data;
}