public function WorkspaceManagerInterface::isEntityTypeSupported in Workspace 8.2
Returns whether an entity type can belong to a workspace or not.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type to check.
Return value
bool TRUE if the entity type can belong to a workspace, FALSE otherwise.
1 method overrides WorkspaceManagerInterface::isEntityTypeSupported()
- WorkspaceManager::isEntityTypeSupported in src/
WorkspaceManager.php - Returns whether an entity type can belong to a workspace or not.
File
- src/
WorkspaceManagerInterface.php, line 21
Class
- WorkspaceManagerInterface
- Provides an interface for managing Workspaces.
Namespace
Drupal\workspaceCode
public function isEntityTypeSupported(EntityTypeInterface $entity_type);