Unverified Commit 6f911f61 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()

(cherry picked from commit 64fbabd7)
parent cb251946
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);