Unverified Commit 64fbabd7 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2899051 by drunken monkey: Properly document possible exceptions for...

Issue #2899051 by drunken monkey: Properly document possible exceptions for EntityTypeManagerInterface::getStorage()
parent a7661726
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -30,7 +30,10 @@ public function getAccessControlHandler($entity_type);
   * @return \Drupal\Core\Entity\EntityStorageInterface
   *   A storage instance.
   *
   * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
   *   Thrown if the entity type doesn't exist.
   * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
   *   Thrown if the storage handler couldn't be loaded.
   */
  public function getStorage($entity_type);