public function EntityOperations::__construct in Workspace 8.2
Same name and namespace in other branches
- 8 src/EntityOperations.php \Drupal\workspace\EntityOperations::__construct()
Constructs a new EntityOperations instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\workspace\WorkspaceManagerInterface $workspace_manager: The workspace manager service.
File
- src/
EntityOperations.php, line 44
Class
- EntityOperations
- Defines a class for reacting to entity events.
Namespace
Drupal\workspaceCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, WorkspaceManagerInterface $workspace_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->workspaceManager = $workspace_manager;
}