public 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
- core/modules/content_moderation/src/Entity/ModerationStateTransition.php, line 103
 
Class
- ModerationStateTransition
 - Defines the Moderation state transition entity.
 
Namespace
Drupal\content_moderation\Entity
Code
public function getToState() {
  return $this->stateTo;
}
Please login to continue.