public function ContentModerationStateChangedEvent::getNewState in Workbench Email 8
Same name and namespace in other branches
- 2.x 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\EventSubscriberCode
public function getNewState() {
return $this->newState;
}