function WorkspacePublishEvent::getPublishingStoppedReason
Same name in other branches
- 10 core/modules/workspaces/src/Event/WorkspacePublishEvent.php \Drupal\workspaces\Event\WorkspacePublishEvent::getPublishingStoppedReason()
Gets the reason for stopping the workspace publication.
Return value
string|\Drupal\Core\StringTranslation\TranslatableMarkup The reason for stopping the workspace publication or an empty string if no reason is provided.
File
-
core/
modules/ workspaces/ src/ Event/ WorkspacePublishEvent.php, line 94
Class
- WorkspacePublishEvent
- Defines the workspace publish event.
Namespace
Drupal\workspaces\EventCode
public function getPublishingStoppedReason() : string|TranslatableMarkup {
return $this->publishingStoppedReason;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.