8.3.x EntityTypeInterface.php public EntityTypeInterface::setStorageClass($class)
8.0.x EntityTypeInterface.php public EntityTypeInterface::setStorageClass($class)
8.1.x EntityTypeInterface.php public EntityTypeInterface::setStorageClass($class)
8.2.x EntityTypeInterface.php public EntityTypeInterface::setStorageClass($class)
8.4.x EntityTypeInterface.php public EntityTypeInterface::setStorageClass($class)

Sets the storage class.

Parameters

string $class: The class for this entity type's storage.

Return value

$this

1 method overrides EntityTypeInterface::setStorageClass()
EntityType::setStorageClass in core/lib/Drupal/Core/Entity/EntityType.php
Sets the storage class.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 230

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function setStorageClass($class);