SqlContentEntityStorageSchema::deleteEntitySchemaData

protected SqlContentEntityStorageSchema::deleteEntitySchemaData(EntityTypeInterface $entity_type)

Deletes schema data for the given entity type definition.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

File

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

Class

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

Namespace

Drupal\Core\Entity\Sql

Code

protected function deleteEntitySchemaData(EntityTypeInterface $entity_type) {
  $this->installedStorageSchema()->delete($entity_type->id() . '.entity_schema_data');
}
doc_Drupal
2016-10-29 09:43:36
Comments
Leave a Comment

Please login to continue.