protected function StateTransitionValidation::transitionStorage in Workbench Moderation 8.2
Same name and namespace in other branches
- 8 src/StateTransitionValidation.php \Drupal\workbench_moderation\StateTransitionValidation::transitionStorage()
Returns the transition entity storage service.
Return value
\Drupal\Core\Entity\EntityStorageInterface
File
- src/
StateTransitionValidation.php, line 254
Class
- StateTransitionValidation
- Validates whether a certain state transition is allowed.
Namespace
Drupal\workbench_moderationCode
protected function transitionStorage() {
return $this->entityTypeManager
->getStorage('moderation_state_transition');
}