function EntityOperations::__construct

Same name in this branch
  1. main core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
  2. main core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
Same name and namespace in other branches
  1. 11.x core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
  2. 11.x core/modules/workspaces/src/Hook/EntityOperations.php \Drupal\workspaces\Hook\EntityOperations::__construct()
  3. 11.x core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
  4. 10 core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
  5. 10 core/modules/workspaces/src/EntityOperations.php \Drupal\workspaces\EntityOperations::__construct()
  6. 10 core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
  7. 9 core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
  8. 9 core/modules/workspaces/src/EntityOperations.php \Drupal\workspaces\EntityOperations::__construct()
  9. 9 core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
  10. 8.9.x core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
  11. 8.9.x core/modules/workspaces/src/EntityOperations.php \Drupal\workspaces\EntityOperations::__construct()
  12. 8.9.x core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()

File

core/modules/workspaces/src/Hook/EntityOperations.php, line 28

Class

EntityOperations
Defines a class for reacting to entity runtime hooks.

Namespace

Drupal\workspaces\Hook

Code

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

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