public function ContentModerationStateChangedEvent::getOriginalState in Workbench Email 2.x
Same name and namespace in other branches
- 8 src/EventSubscriber/ContentModerationStateChangedEvent.php \Drupal\workbench_email\EventSubscriber\ContentModerationStateChangedEvent::getOriginalState()
Get the original state of the content.
Return value
string The state the content was before.
File
- src/
EventSubscriber/ ContentModerationStateChangedEvent.php, line 88
Class
- ContentModerationStateChangedEvent
- Defines content moderation state change events.
Namespace
Drupal\workbench_email\EventSubscriberCode
public function getOriginalState() {
return $this->originalState;
}