You are here

public function WorkspaceManagerInterface::isEntityTypeSupported in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::isEntityTypeSupported()

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 core/modules/workspaces/src/WorkspaceManager.php
Returns whether an entity type can belong to a workspace or not.

File

core/modules/workspaces/src/WorkspaceManagerInterface.php, line 21

Class

WorkspaceManagerInterface
Provides an interface for managing Workspaces.

Namespace

Drupal\workspaces

Code

public function isEntityTypeSupported(EntityTypeInterface $entity_type);