function EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition()
- 10 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition()
- 11.x 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.
1 method overrides EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition()
- EntityDefinitionUpdateManager::installFieldStorageDefinition in core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManager.php - Installs a new field storage definition.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManagerInterface.php, line 208
Class
- EntityDefinitionUpdateManagerInterface
- Defines an interface for managing entity definition updates.
Namespace
Drupal\Core\EntityCode
public function installFieldStorageDefinition($name, $entity_type_id, $provider, FieldStorageDefinitionInterface $storage_definition);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.