function EntityTypeManager::getStorage

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeManager.php \Drupal\Core\Entity\EntityTypeManager::getStorage()
  2. 10 core/lib/Drupal/Core/Entity/EntityTypeManager.php \Drupal\Core\Entity\EntityTypeManager::getStorage()
  3. 11.x core/lib/Drupal/Core/Entity/EntityTypeManager.php \Drupal\Core\Entity\EntityTypeManager::getStorage()

Overrides EntityTypeManagerInterface::getStorage

File

core/lib/Drupal/Core/Entity/EntityTypeManager.php, line 191

Class

EntityTypeManager
Manages entity type plugin definitions.

Namespace

Drupal\Core\Entity

Code

public function getStorage($entity_type_id) {
    return $this->getHandler($entity_type_id, 'storage');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.