Loading core/modules/workflows/src/WorkflowTypeInterface.php +4 −3 Original line number Diff line number Diff line Loading @@ -244,7 +244,7 @@ public function hasTransition($transition_id); public function getTransitions(array $transition_ids = NULL); /** * Gets the transition IDs for a state for the provided direction. * Gets the transitions for a state for the provided direction. * * @param $state_id * The state to get transitions for. Loading @@ -253,8 +253,9 @@ public function getTransitions(array $transition_ids = NULL); * TransitionInterface::DIRECTION_FROM. Possible values are: * TransitionInterface::DIRECTION_FROM or TransitionInterface::DIRECTION_TO. * * @return array * The transition IDs for a state for the provided direction. * @return \Drupal\workflows\TransitionInterface[] * An array of the transition objects for the state in the given direction, * keyed by transition ID. * * @see \Drupal\workflows\TransitionInterface::DIRECTION_FROM * @see \Drupal\workflows\TransitionInterface::DIRECTION_TO Loading Loading
core/modules/workflows/src/WorkflowTypeInterface.php +4 −3 Original line number Diff line number Diff line Loading @@ -244,7 +244,7 @@ public function hasTransition($transition_id); public function getTransitions(array $transition_ids = NULL); /** * Gets the transition IDs for a state for the provided direction. * Gets the transitions for a state for the provided direction. * * @param $state_id * The state to get transitions for. Loading @@ -253,8 +253,9 @@ public function getTransitions(array $transition_ids = NULL); * TransitionInterface::DIRECTION_FROM. Possible values are: * TransitionInterface::DIRECTION_FROM or TransitionInterface::DIRECTION_TO. * * @return array * The transition IDs for a state for the provided direction. * @return \Drupal\workflows\TransitionInterface[] * An array of the transition objects for the state in the given direction, * keyed by transition ID. * * @see \Drupal\workflows\TransitionInterface::DIRECTION_FROM * @see \Drupal\workflows\TransitionInterface::DIRECTION_TO Loading