You are here

public function WorkbenchModerationTransitionEvent::getStateBefore in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/Event/WorkbenchModerationTransitionEvent.php \Drupal\workbench_moderation\Event\WorkbenchModerationTransitionEvent::getStateBefore()

Returns state before the transition.

Return value

string Return state before.

File

src/Event/WorkbenchModerationTransitionEvent.php, line 68

Class

WorkbenchModerationTransitionEvent
Defines a class for transition events.

Namespace

Drupal\workbench_moderation\Event

Code

public function getStateBefore() {
  return $this->stateBefore;
}