function FieldItemBase::calculateDependencies
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::calculateDependencies()
- 10 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::calculateDependencies()
- 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::calculateDependencies()
Overrides FieldItemInterface::calculateDependencies
1 call to FieldItemBase::calculateDependencies()
- EntityReferenceItem::calculateDependencies in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Calculates dependencies for field items.
2 methods override FieldItemBase::calculateDependencies()
- EntityReferenceItem::calculateDependencies in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Calculates dependencies for field items.
- TestItemWithDependencies::calculateDependencies in core/
modules/ field/ tests/ modules/ field_test/ src/ Plugin/ Field/ FieldType/ TestItemWithDependencies.php - Calculates dependencies for field items.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 261
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
public static function calculateDependencies(FieldDefinitionInterface $field_definition) {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.