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

protected function transitionStorage() {
  return $this->entityTypeManager->getStorage('moderation_state_transition');
}
doc_Drupal
2016-10-29 09:44:19
Comments
Leave a Comment

Please login to continue.