function WorkspacePublishEvent::stopPublishing

Same name in other branches
  1. 10 core/modules/workspaces/src/Event/WorkspacePublishEvent.php \Drupal\workspaces\Event\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.