function FieldItemBase::calculateDependencies

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::calculateDependencies()
  2. 10 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::calculateDependencies()
  3. 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\Field

Code

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.