ModerationStateTransition::getToState

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;
}
doc_Drupal
2016-10-29 09:28:54
Comments
Leave a Comment

Please login to continue.