function WorkspaceTracker::getSubscribedEvents
File
-
core/
modules/ workspaces/ src/ WorkspaceTracker.php, line 518
Class
- WorkspaceTracker
- Provides a class for CRUD operations on workspace associations.
Namespace
Drupal\workspacesCode
public static function getSubscribedEvents() : array {
// Workspace association records cleanup should happen as late as possible.
$events[WorkspacePostPublishEvent::class][] = [
'onPostPublish',
-500,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.