Validates whether a certain state transition is allowed.
Hierarchy
- interface \Drupal\content_moderation\StateTransitionValidationInterface
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. |
Please login to continue.