function ContentEntityStorageBase::onFieldDefinitionUpdate
Reacts to the update of a field.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition being updated.
\Drupal\Core\Field\FieldDefinitionInterface $original: The original field definition; i.e., the definition before the update.
Overrides FieldDefinitionListenerInterface::onFieldDefinitionUpdate
File
-
core/
lib/ Drupal/ Core/ Entity/ ContentEntityStorageBase.php, line 546
Class
- ContentEntityStorageBase
- Base class for content entity storage handlers.
Namespace
Drupal\Core\EntityCode
public function onFieldDefinitionUpdate(FieldDefinitionInterface $field_definition, FieldDefinitionInterface $original) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.