8.3.x EntityType.php public EntityType::getStorageClass()
8.0.x EntityType.php public EntityType::getStorageClass()
8.1.x EntityType.php public EntityType::getStorageClass()
8.2.x EntityType.php public EntityType::getStorageClass()
8.4.x EntityType.php 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 475

Class

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

Namespace

Drupal\Core\Entity

Code

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