function WorkspacePublishEvent::stopPublishing

Signals that the workspace publishing should be aborted.

Return value

$this

File

core/modules/workspaces/src/Event/WorkspacePublishEvent.php, line 81

Class

WorkspacePublishEvent
Defines the workspace publish event.

Namespace

Drupal\workspaces\Event

Code

public function stopPublishing() : static {
  $this->publishingStopped = TRUE;
  return $this;
}

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