function WorkspaceInformationInterface::isEntityIgnored

Same name and namespace in other branches
  1. 10 core/modules/workspaces/src/WorkspaceInformationInterface.php \Drupal\workspaces\WorkspaceInformationInterface::isEntityIgnored()

Determines whether CRUD operations for an entity are allowed.

CRUD operations for an ignored entity are allowed in a workspace, but their revisions are not tracked.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity 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 56

Class

WorkspaceInformationInterface
Provides an interface for workspace-support information.

Namespace

Drupal\workspaces

Code

public function isEntityIgnored(EntityInterface $entity) : bool;

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