class WorkspacePostPublishEvent

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/src/Event/WorkspacePostPublishEvent.php \Drupal\workspaces\Event\WorkspacePostPublishEvent

Defines the post-publish event class.

Hierarchy

Expanded class hierarchy of WorkspacePostPublishEvent

2 files declare their use of WorkspacePostPublishEvent
WorkspaceAssociation.php in core/modules/workspaces/src/WorkspaceAssociation.php
WorkspacePublisher.php in core/modules/workspaces/src/WorkspacePublisher.php

File

core/modules/workspaces/src/Event/WorkspacePostPublishEvent.php, line 8

Namespace

Drupal\workspaces\Event
View source
class WorkspacePostPublishEvent extends WorkspacePublishEvent {

}

Members

Title Sort descending Modifiers Object type Summary
WorkspacePublishEvent::$publishedRevisionIds protected property The IDs of the entities that are being published.
WorkspacePublishEvent::$publishingStopped protected property Whether an event subscriber requested the publishing to be stopped.
WorkspacePublishEvent::$publishingStoppedReason protected property The reason why publishing stopped. For use in messages.
WorkspacePublishEvent::getPublishedRevisionIds public function Gets the entity IDs that are being published as part of the workspace.
WorkspacePublishEvent::getPublishingStoppedReason public function Gets the reason for stopping the workspace publication.
WorkspacePublishEvent::getWorkspace public function Gets the workspace.
WorkspacePublishEvent::isPublishingStopped public function Determines whether a subscriber requested the publishing to be stopped.
WorkspacePublishEvent::setPublishingStoppedReason public function Sets the reason for stopping the workspace publication.
WorkspacePublishEvent::stopPublishing public function Signals that the workspace publishing should be aborted.
WorkspacePublishEvent::__construct public function Constructs a new WorkspacePublishEvent.

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