function FieldItemBase::onDependencyRemoval

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::onDependencyRemoval()
  2. 8.9.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::onDependencyRemoval()
  3. 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::onDependencyRemoval()

Overrides FieldItemInterface::onDependencyRemoval

File

core/lib/Drupal/Core/Field/FieldItemBase.php, line 289

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

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.