public function WorkspaceManagerInterface::shouldAlterOperations in Workspace 8.2
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 src/
WorkspaceManager.php - Determines whether runtime entity operations should be altered.
File
- src/
WorkspaceManagerInterface.php, line 62
Class
- WorkspaceManagerInterface
- Provides an interface for managing Workspaces.
Namespace
Drupal\workspaceCode
public function shouldAlterOperations(EntityTypeInterface $entity_type);