protected function SqlContentEntityStorageSchema::deleteEntitySchemaData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::deleteEntitySchemaData()
Deletes schema data for the given entity type definition.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
1 call to SqlContentEntityStorageSchema::deleteEntitySchemaData()
- SqlContentEntityStorageSchema::onEntityTypeDelete in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Reacts to the deletion of the entity type.
File
- core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php, line 801 - Contains \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema.
Class
- SqlContentEntityStorageSchema
- Defines a schema handler that supports revisionable, translatable entities.
Namespace
Drupal\Core\Entity\SqlCode
protected function deleteEntitySchemaData(EntityTypeInterface $entity_type) {
$this
->installedStorageSchema()
->delete($entity_type
->id() . '.entity_schema_data');
}