W3cubDocs

/Drupal 8

public function EntityLastInstalledSchemaRepositoryInterface::setLastInstalledFieldStorageDefinitions

public EntityLastInstalledSchemaRepositoryInterface::setLastInstalledFieldStorageDefinitions($entity_type_id, array $storage_definitions)

Stores the entity type's field storage definitions in the application state.

Parameters

string $entity_type_id: The entity type identifier.

\Drupal\Core\Field\FieldStorageDefinitionInterface[] $storage_definitions: An array of field storage definitions.

File

core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepositoryInterface.php, line 107

Class

EntityLastInstalledSchemaRepositoryInterface
Provides an interface for an installed entity definition repository.

Namespace

Drupal\Core\Entity

Code

public function setLastInstalledFieldStorageDefinitions($entity_type_id, array $storage_definitions);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityLastInstalledSchemaRepositoryInterface.php/function/EntityLastInstalledSchemaRepositoryInterface::setLastInstalledFieldStorageDefinitions/8.1.x