You are here

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

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

Get the new state of the content.

Return value

string The state the content has been changed to.

File

src/EventSubscriber/ContentModerationStateChangedEvent.php, line 78

Class

ContentModerationStateChangedEvent
Defines content moderation state change events.

Namespace

Drupal\workbench_email\EventSubscriber

Code

public function getNewState() {
  return $this->newState;
}