You are here

public function ModerationStateTransitionInterface::getToState in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/ModerationStateTransitionInterface.php \Drupal\workbench_moderation\ModerationStateTransitionInterface::getToState()

Gets the to state for the given transition.

Return value

string The moderation state ID for the to state.

1 method overrides ModerationStateTransitionInterface::getToState()
ModerationStateTransition::getToState in src/Entity/ModerationStateTransition.php
Gets the to state for the given transition.

File

src/ModerationStateTransitionInterface.php, line 26

Class

ModerationStateTransitionInterface
Provides an interface for defining Moderation state transition entities.

Namespace

Drupal\workbench_moderation

Code

public function getToState();