public function EntityTypeInfo::__construct in Workspace 8.2
Same name and namespace in other branches
- 8 src/EntityTypeInfo.php \Drupal\workspace\EntityTypeInfo::__construct()
Constructs a new EntityTypeInfo 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/
EntityTypeInfo.php, line 41
Class
- EntityTypeInfo
- Manipulates entity type information.
Namespace
Drupal\workspaceCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, WorkspaceManagerInterface $workspace_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->workspaceManager = $workspace_manager;
}