function EntityOperations::__construct
Same name in this branch
- main core/modules/workspaces/src/Hook/EntityOperations.php \Drupal\workspaces\Hook\EntityOperations::__construct()
- main core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
Same name and namespace in other branches
- 11.x core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
- 11.x core/modules/workspaces/src/Hook/EntityOperations.php \Drupal\workspaces\Hook\EntityOperations::__construct()
- 11.x core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
- 10 core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
- 10 core/modules/workspaces/src/EntityOperations.php \Drupal\workspaces\EntityOperations::__construct()
- 10 core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
- 9 core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
- 9 core/modules/workspaces/src/EntityOperations.php \Drupal\workspaces\EntityOperations::__construct()
- 9 core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
- 8.9.x core/modules/content_moderation/src/EntityOperations.php \Drupal\content_moderation\EntityOperations::__construct()
- 8.9.x core/modules/workspaces/src/EntityOperations.php \Drupal\workspaces\EntityOperations::__construct()
- 8.9.x core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::__construct()
Constructs a new EntityOperations object.
Parameters
\Drupal\content_moderation\ModerationInformationInterface $moderationInfo: Moderation information service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: Entity type manager service.
\Drupal\Core\Form\FormBuilderInterface $formBuilder: The form builder.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $bundleInfo: The entity bundle information service.
\Drupal\Core\Routing\RouteBuilderInterface $routerBuilder: The router builder service.
File
-
core/
modules/ content_moderation/ src/ EntityOperations.php, line 41
Class
- EntityOperations
- Defines a class for reacting to entity events.
Namespace
Drupal\content_moderationCode
public function __construct(protected ModerationInformationInterface $moderationInfo, protected EntityTypeManagerInterface $entityTypeManager, protected FormBuilderInterface $formBuilder, protected EntityTypeBundleInfoInterface $bundleInfo, protected RouteBuilderInterface $routerBuilder) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.