function WorkspacePublishEvent::setPublishingStoppedReason
Same name in other branches
- 11.x core/modules/workspaces/src/Event/WorkspacePublishEvent.php \Drupal\workspaces\Event\WorkspacePublishEvent::setPublishingStoppedReason()
Sets the reason for stopping the workspace publication.
Parameters
string|\Stringable $reason: The reason for stopping the workspace publication.
Return value
$this
File
-
core/
modules/ workspaces/ src/ Event/ WorkspacePublishEvent.php, line 106
Class
- WorkspacePublishEvent
- Defines the workspace publish event.
Namespace
Drupal\workspaces\EventCode
public function setPublishingStoppedReason(string|\Stringable $reason) : static {
$this->publishingStoppedReason = $reason;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.