function WorkspaceManagerInterface::shouldAlterOperations

Same name in other branches
  1. 9 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::shouldAlterOperations()
  2. 10 core/modules/workspaces/src/WorkspaceManagerInterface.php \Drupal\workspaces\WorkspaceManagerInterface::shouldAlterOperations()

Determines whether runtime entity operations should be altered.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type to check.

Return value

bool TRUE if the entity operations or queries should be altered in the current request, FALSE otherwise.

1 method overrides WorkspaceManagerInterface::shouldAlterOperations()
WorkspaceManager::shouldAlterOperations in core/modules/workspaces/src/WorkspaceManager.php
Determines whether runtime entity operations should be altered.

File

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

Class

WorkspaceManagerInterface
Provides an interface for managing Workspaces.

Namespace

Drupal\workspaces

Code

public function shouldAlterOperations(EntityTypeInterface $entity_type);

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