You are here

public function EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition()
  2. 9 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition()

Installs a new field storage definition.

Parameters

string $name: The field storage definition name.

string $entity_type_id: The target entity type identifier.

string $provider: The name of the definition provider.

\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition.

File

core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php, line 207

Class

EntityDefinitionUpdateManagerInterface
Defines an interface for managing entity definition updates.

Namespace

Drupal\Core\Entity

Code

public function installFieldStorageDefinition($name, $entity_type_id, $provider, FieldStorageDefinitionInterface $storage_definition);