function FieldItemBase::calculateDependencies

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

Overrides FieldItemInterface::calculateDependencies

1 call to FieldItemBase::calculateDependencies()
TextItemBase::calculateDependencies in core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php
Calculates dependencies for field items.
2 methods override FieldItemBase::calculateDependencies()
TestItemWithDependencies::calculateDependencies in core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItemWithDependencies.php
Calculates dependencies for field items.
TextItemBase::calculateDependencies in core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php
Calculates dependencies for field items.

File

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

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.