You are here

public function ContentModerationStateChangedEvent::getWorkflow in Workbench Email 2.x

Same name and namespace in other branches
  1. 8 src/EventSubscriber/ContentModerationStateChangedEvent.php \Drupal\workbench_email\EventSubscriber\ContentModerationStateChangedEvent::getWorkflow()

Get the ID of the workflow which allowed this state change.

Return value

string The ID of the workflow.

File

src/EventSubscriber/ContentModerationStateChangedEvent.php, line 98

Class

ContentModerationStateChangedEvent
Defines content moderation state change events.

Namespace

Drupal\workbench_email\EventSubscriber

Code

public function getWorkflow() {
  return $this->workflow;
}