public function ViewsQueryAlter::__construct in Workspace 8.2
Constructs a new ViewsQueryAlter instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
\Drupal\workspace\WorkspaceManagerInterface $workspace_manager: The workspace manager service.
\Drupal\views\ViewsData $views_data: The views data.
\Drupal\views\Plugin\ViewsHandlerManager $views_join_plugin_manager: The views join plugin manager.
File
- src/
ViewsQueryAlter.php, line 72
Class
- ViewsQueryAlter
- Defines a class for altering views queries.
Namespace
Drupal\workspaceCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager, WorkspaceManagerInterface $workspace_manager, ViewsData $views_data, ViewsHandlerManager $views_join_plugin_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->entityFieldManager = $entity_field_manager;
$this->workspaceManager = $workspace_manager;
$this->viewsData = $views_data;
$this->viewsJoinPluginManager = $views_join_plugin_manager;
}