public function ContentEntityStorageBase::onFieldDefinitionDelete
public ContentEntityStorageBase::onFieldDefinitionDelete(FieldDefinitionInterface $field_definition)
Reacts to the deletion of a field.
Stored values should not be wiped at once, but marked as 'deleted' so that they can go through a proper purge process later on.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition being deleted.
Overrides FieldDefinitionListenerInterface::onFieldDefinitionDelete
File
- core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 169
Class
- ContentEntityStorageBase
- Base class for content entity storage handlers.
Namespace
Drupal\Core\EntityCode
public function onFieldDefinitionDelete(FieldDefinitionInterface $field_definition) { }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityStorageBase.php/function/ContentEntityStorageBase::onFieldDefinitionDelete/8.1.x