function WorkspaceManagerInterface::getSupportedEntityTypes
Same name and namespace in other branches
- 9 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::getSupportedEntityTypes()
- 8.9.x core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::getSupportedEntityTypes()
Returns an array of entity types that can belong to workspaces.
Return value
\Drupal\Core\Entity\EntityTypeInterface[] The entity types what can belong to workspaces.
Deprecated
in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\workspaces\WorkspaceInformation::getSupportedEntityTypes instead.
See also
https://www.drupal.org/node/3324297
1 method overrides WorkspaceManagerInterface::getSupportedEntityTypes()
- WorkspaceManager::getSupportedEntityTypes in core/
modules/ workspaces/ src/ WorkspaceManager.php - Returns an array of entity types that can belong to workspaces.
File
-
core/
modules/ workspaces/ src/ WorkspaceManagerInterface.php, line 39
Class
- WorkspaceManagerInterface
- Provides an interface for managing Workspaces.
Namespace
Drupal\workspacesCode
public function getSupportedEntityTypes();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.