SqlContentEntityStorageSchema::deleteFieldSchemaData

protected SqlContentEntityStorageSchema::deleteFieldSchemaData(FieldStorageDefinitionInterface $storage_definition)

Deletes schema data for the given field storage definition.

Parameters

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

File

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

Class

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

Namespace

Drupal\Core\Entity\Sql

Code

protected function deleteFieldSchemaData(FieldStorageDefinitionInterface $storage_definition) {
  $this->installedStorageSchema()->delete($storage_definition->getTargetEntityTypeId() . '.field_schema_data.' . $storage_definition->getName());
}
doc_Drupal
2016-10-29 09:43:36
Comments
Leave a Comment

Please login to continue.