public function DsEntityRow::__construct in Display Suite 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/Derivative/DsEntityRow.php \Drupal\ds\Plugin\Derivative\DsEntityRow::__construct()
- 8.2 src/Plugin/Derivative/DsEntityRow.php \Drupal\ds\Plugin\Derivative\DsEntityRow::__construct()
Constructs a DsEntityRow object.
Parameters
string $base_plugin_id: The base plugin ID.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Drupal\views\ViewsData $views_data: The views data service.
File
- src/
Plugin/ Derivative/ DsEntityRow.php, line 57
Class
- DsEntityRow
- Provides DS views row plugin definitions for all non-special entity types.
Namespace
Drupal\ds\Plugin\DerivativeCode
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;
}