W3cubDocs

/Drupal 8

public function EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition

public EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition($name, $entity_type_id, $provider, FieldStorageDefinitionInterface $storage_definition)

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 167

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

© 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!EntityDefinitionUpdateManagerInterface.php/function/EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition/8.1.x