public function ModerationStateTransition::getFromState in Workbench Moderation 8
Same name and namespace in other branches
- 8.2 src/Entity/ModerationStateTransition.php \Drupal\workbench_moderation\Entity\ModerationStateTransition::getFromState()
 
Gets the from state for the given transition.
Return value
string The moderation state ID for the from state.
Overrides ModerationStateTransitionInterface::getFromState
File
- src/
Entity/ ModerationStateTransition.php, line 106  
Class
- ModerationStateTransition
 - Defines the Moderation state transition entity.
 
Namespace
Drupal\workbench_moderation\EntityCode
public function getFromState() {
  return $this->stateFrom;
}