SqlContentEntityStorageSchema::onFieldStorageDefinitionCreate

public SqlContentEntityStorageSchema::onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition)

Reacts to the creation of a field storage definition.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The definition being created.

Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 385

Class

SqlContentEntityStorageSchema
Defines a schema handler that supports revisionable, translatable entities.

Namespace

Drupal\Core\Entity\Sql

Code

public function onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition) {
  $this->performFieldSchemaOperation('create', $storage_definition);
}
doc_Drupal
2016-10-29 09:43:42
Comments
Leave a Comment

Please login to continue.