public function ModerationStateTransitionInterface::getFromState in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 src/ModerationStateTransitionInterface.php \Drupal\workbench_moderation\ModerationStateTransitionInterface::getFromState()
Gets the from state for the given transition.
Return value
string The moderation state ID for the from state.
1 method overrides ModerationStateTransitionInterface::getFromState()
- ModerationStateTransition::getFromState in src/
Entity/ ModerationStateTransition.php - Gets the from state for the given transition.
File
- src/
ModerationStateTransitionInterface.php, line 18
Class
- ModerationStateTransitionInterface
- Provides an interface for defining Moderation state transition entities.
Namespace
Drupal\workbench_moderationCode
public function getFromState();