function WorkspaceManagerInterface::isEntityTypeSupported

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::isEntityTypeSupported()
  2. 10 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.