function WorkspaceAssociationInterface::deleteAssociations
Same name in other branches
- 8.9.x core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::deleteAssociations()
- 10 core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::deleteAssociations()
- 11.x core/modules/workspaces/src/WorkspaceAssociationInterface.php \Drupal\workspaces\WorkspaceAssociationInterface::deleteAssociations()
Deletes all the workspace association records for the given workspace.
Parameters
string $workspace_id: A workspace entity ID.
string|null $entity_type_id: (optional) The target entity type of the associations to delete. Defaults to NULL.
int[]|string[]|null $entity_ids: (optional) The target entity IDs of the associations to delete. Defaults to NULL.
1 method overrides WorkspaceAssociationInterface::deleteAssociations()
- WorkspaceAssociation::deleteAssociations in core/
modules/ workspaces/ src/ WorkspaceAssociation.php - Deletes all the workspace association records for the given workspace.
File
-
core/
modules/ workspaces/ src/ WorkspaceAssociationInterface.php, line 109
Class
- WorkspaceAssociationInterface
- Defines an interface for the workspace_association service.
Namespace
Drupal\workspacesCode
public function deleteAssociations($workspace_id, $entity_type_id = NULL, $entity_ids = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.