function EntityAccess::__construct

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/src/Hook/EntityAccess.php \Drupal\workspaces\Hook\EntityAccess::__construct()
  2. 10 core/modules/workspaces/src/EntityAccess.php \Drupal\workspaces\EntityAccess::__construct()
  3. 9 core/modules/workspaces/src/EntityAccess.php \Drupal\workspaces\EntityAccess::__construct()
  4. 8.9.x core/modules/workspaces/src/EntityAccess.php \Drupal\workspaces\EntityAccess::__construct()

File

core/modules/workspaces/src/Hook/EntityAccess.php, line 21

Class

EntityAccess
Defines a class for reacting to entity access control hooks.

Namespace

Drupal\workspaces\Hook

Code

public function __construct(protected EntityTypeManagerInterface $entityTypeManager, protected WorkspaceManagerInterface $workspaceManager, protected WorkspaceInformationInterface $workspaceInfo) {
}

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