FieldDefinitionListenerInterface::onFieldDefinitionDelete

public FieldDefinitionListenerInterface::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.

File

core/lib/Drupal/Core/Field/FieldDefinitionListenerInterface.php, line 37

Class

FieldDefinitionListenerInterface
Defines an interface for reacting to field creation, deletion, and updates.

Namespace

Drupal\Core\Field

Code

public function onFieldDefinitionDelete(FieldDefinitionInterface $field_definition);
doc_Drupal
2016-10-29 09:11:27
Comments
Leave a Comment

Please login to continue.