function WorkspaceInformationInterface::isEntityTypeSupported
Same name and namespace in other branches
- 10 core/modules/workspaces/src/WorkspaceInformationInterface.php \Drupal\workspaces\WorkspaceInformationInterface::isEntityTypeSupported()
Determines whether an entity type can belong to a workspace.
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.
File
-
core/
modules/ workspaces/ src/ WorkspaceInformationInterface.php, line 33
Class
- WorkspaceInformationInterface
- Provides an interface for workspace-support information.
Namespace
Drupal\workspacesCode
public function isEntityTypeSupported(EntityTypeInterface $entity_type) : bool;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.