function WorkspaceInformationInterface::isEntityTypeIgnored
Same name in other branches
- 11.x core/modules/workspaces/src/WorkspaceInformationInterface.php \Drupal\workspaces\WorkspaceInformationInterface::isEntityTypeIgnored()
Determines whether CRUD operations for an entity type are allowed.
CRUD operations for an ignored entity type are allowed in a workspace, but their revisions are not tracked.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type to check.
Return value
bool TRUE if CRUD operations of an entity type can safely be done inside a workspace, without impacting the Live site, FALSE otherwise.
File
-
core/
modules/ workspaces/ src/ WorkspaceInformationInterface.php, line 71
Class
- WorkspaceInformationInterface
- Provides an interface for workspace-support information.
Namespace
Drupal\workspacesCode
public function isEntityTypeIgnored(EntityTypeInterface $entity_type) : bool;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.