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\Entity

Code

public function onFieldDefinitionDelete(FieldDefinitionInterface $field_definition) {
}
doc_Drupal
2016-10-29 08:57:36
Comments
Leave a Comment

Please login to continue.