StateTransitionValidation::transitionStorage

protected StateTransitionValidation::transitionStorage()

Returns the transition entity storage service.

Return value

\Drupal\Core\Entity\EntityStorageInterface The transition state entity storage.

File

core/modules/content_moderation/src/StateTransitionValidation.php, line 218

Class

StateTransitionValidation
Validates whether a certain state transition is allowed.

Namespace

Drupal\content_moderation

Code

1
2
3
protected function transitionStorage() {
  return $this->entityTypeManager->getStorage('moderation_state_transition');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.