function WorkspaceInformationInterface::isEntitySupported
Same name in other branches
- 11.x core/modules/workspaces/src/WorkspaceInformationInterface.php \Drupal\workspaces\WorkspaceInformationInterface::isEntitySupported()
Determines whether an entity can belong to a workspace.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity to check.
Return value
bool TRUE if the entity can belong to a workspace, FALSE otherwise.
File
-
core/
modules/ workspaces/ src/ WorkspaceInformationInterface.php, line 22
Class
- WorkspaceInformationInterface
- Provides an interface for workspace-support information.
Namespace
Drupal\workspacesCode
public function isEntitySupported(EntityInterface $entity) : bool;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.