public function ContentModerationStateChangedEvent::getOriginalState in Workbench Email 8
Same name and namespace in other branches
- 2.x 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;
}