function EntityLastInstalledSchemaRepositoryInterface::setLastInstalledFieldStorageDefinitions

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

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.

1 method overrides EntityLastInstalledSchemaRepositoryInterface::setLastInstalledFieldStorageDefinitions()
EntityLastInstalledSchemaRepository::setLastInstalledFieldStorageDefinitions in core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php
Stores the entity type's field storage definitions in the application state.

File

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

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);

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