You are here

public function EntityLastInstalledSchemaRepositoryInterface::setLastInstalledFieldStorageDefinitions in Drupal 9

Same name and namespace in other branches
  1. 8 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);