function ContentModerationState::getTransitions
Gets all the possible transition objects for the state.
Return value
\Drupal\workflows\TransitionInterface[] All the possible transition objects for the state.
Overrides StateInterface::getTransitions
File
-
core/
modules/ content_moderation/ src/ ContentModerationState.php, line 110
Class
- ContentModerationState
- A value object representing a workflow state for content moderation.
Namespace
Drupal\content_moderationCode
public function getTransitions() {
return $this->state
->getTransitions();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.