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