function FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete()
- 10 core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete()
- 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete()
Reacts to the deletion of a field storage definition.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being deleted.
2 methods override FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete()
- FieldStorageDefinitionListener::onFieldStorageDefinitionDelete in core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionListener.php - Reacts to the deletion of a field storage definition.
- SqlContentEntityStorageSchema::onFieldStorageDefinitionDelete in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Reacts to the deletion of a field storage definition.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionListenerInterface.php, line 37
Class
- FieldStorageDefinitionListenerInterface
- Defines an interface for reacting to field storage definition creation, deletion, and updates.
Namespace
Drupal\Core\FieldCode
public function onFieldStorageDefinitionDelete(FieldStorageDefinitionInterface $storage_definition);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.