function FieldItemBase::onDependencyRemoval
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::onDependencyRemoval()
- 10 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::onDependencyRemoval()
- 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::onDependencyRemoval()
Overrides FieldItemInterface::onDependencyRemoval
1 call to FieldItemBase::onDependencyRemoval()
- EntityReferenceItem::onDependencyRemoval in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Informs the plugin that a dependency of the field will be deleted.
1 method overrides FieldItemBase::onDependencyRemoval()
- EntityReferenceItem::onDependencyRemoval in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Informs the plugin that a dependency of the field will be deleted.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 275
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public static function onDependencyRemoval(FieldDefinitionInterface $field_definition, array $dependencies) {
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.