StateTransitionValidationInterface

Validates whether a certain state transition is allowed.

Hierarchy

File

core/modules/content_moderation/src/StateTransitionValidationInterface.php, line 11

Namespace

Drupal\content_moderation

Members

Name Modifiers Type Description
StateTransitionValidationInterface::getValidTransitions public function Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidationInterface::getValidTransitionTargets public function Gets a list of states a user may transition an entity to.
StateTransitionValidationInterface::isTransitionAllowed public function Determines a transition allowed.
StateTransitionValidationInterface::userMayTransition public function Determines if a user is allowed to transition from one state to another.
doc_Drupal
2016-10-29 09:44:19
Comments
Leave a Comment

Please login to continue.