Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getStorageClass()
  2. 9 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getStorageClass()

Gets the storage class.

Return value

string The class for this entity type's storage.

Overrides EntityTypeInterface::getStorageClass

File

core/lib/Drupal/Core/Entity/EntityType.php, line 493

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getStorageClass() {
  return $this
    ->getHandlerClass('storage');
}