function ViewsOperations::__construct

File

core/modules/workspaces/src/Hook/ViewsOperations.php, line 35

Class

ViewsOperations
Defines a class for altering views queries.

Namespace

Drupal\workspaces\Hook

Code

public function __construct(protected EntityTypeManagerInterface $entityTypeManager, protected EntityFieldManagerInterface $entityFieldManager, protected WorkspaceManagerInterface $workspaceManager, protected WorkspaceInformationInterface $workspaceInfo, protected LanguageManagerInterface $languageManager, protected ?ViewsData $viewsData = NULL, #[Autowire(service: 'plugin.manager.views.join')] protected ?ViewsHandlerManager $viewsJoinPluginManager = NULL) {
  $this->adjustedTables = new \WeakMap();
}

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