class IgnoredWorkspaceHandler
Same name in other branches
- 10 core/modules/workspaces/src/Entity/Handler/IgnoredWorkspaceHandler.php \Drupal\workspaces\Entity\Handler\IgnoredWorkspaceHandler
Defines a handler for entity types that are ignored by workspaces.
@internal
Hierarchy
- class \Drupal\workspaces\Entity\Handler\IgnoredWorkspaceHandler implements \Drupal\workspaces\Entity\Handler\WorkspaceHandlerInterface, \Drupal\Core\Entity\EntityHandlerInterface
Expanded class hierarchy of IgnoredWorkspaceHandler
7 files declare their use of IgnoredWorkspaceHandler
- EntityTypeInfo.php in core/
modules/ workspaces/ src/ EntityTypeInfo.php - EntityTypeInfo.php in core/
modules/ workspaces/ src/ Hook/ EntityTypeInfo.php - Workspace.php in core/
modules/ workspaces/ src/ Entity/ Workspace.php - WorkspaceInformation.php in core/
modules/ workspaces/ src/ WorkspaceInformation.php - WorkspaceInformationTest.php in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceInformationTest.php
File
-
core/
modules/ workspaces/ src/ Entity/ Handler/ IgnoredWorkspaceHandler.php, line 15
Namespace
Drupal\workspaces\Entity\HandlerView source
class IgnoredWorkspaceHandler implements WorkspaceHandlerInterface, EntityHandlerInterface {
/**
* {@inheritdoc}
*/
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static();
}
/**
* {@inheritdoc}
*/
public function isEntitySupported(EntityInterface $entity) : bool {
return FALSE;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
IgnoredWorkspaceHandler::createInstance | public static | function | Overrides EntityHandlerInterface::createInstance | |
IgnoredWorkspaceHandler::isEntitySupported | public | function | Overrides WorkspaceHandlerInterface::isEntitySupported |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.