function ContentModerationState::getTransitionTo
Same name in other branches
- 9 core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::getTransitionTo()
- 8.9.x core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::getTransitionTo()
- 11.x core/modules/content_moderation/src/ContentModerationState.php \Drupal\content_moderation\ContentModerationState::getTransitionTo()
Overrides StateInterface::getTransitionTo
File
-
core/
modules/ content_moderation/ src/ ContentModerationState.php, line 103
Class
- ContentModerationState
- A value object representing a workflow state for content moderation.
Namespace
Drupal\content_moderationCode
public function getTransitionTo($to_state_id) {
return $this->state
->getTransitionTo($to_state_id);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.