function WorkspaceAssociation::postPublish
Same name in other branches
- 9 core/modules/workspaces/src/WorkspaceAssociation.php \Drupal\workspaces\WorkspaceAssociation::postPublish()
- 10 core/modules/workspaces/src/WorkspaceAssociation.php \Drupal\workspaces\WorkspaceAssociation::postPublish()
Overrides WorkspaceAssociationInterface::postPublish
File
-
core/
modules/ workspaces/ src/ WorkspaceAssociation.php, line 208
Class
- WorkspaceAssociation
- Provides a class for CRUD operations on workspace associations.
Namespace
Drupal\workspacesCode
public function postPublish(WorkspaceInterface $workspace) {
$this->deleteAssociations($workspace->id());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.