You are here

public static function DependencyFieldItem::calculateDependencies in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php \Drupal\Tests\field\Unit\DependencyFieldItem::calculateDependencies()

File

core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php, line 299
Contains \Drupal\Tests\field\Unit\FieldConfigEntityUnitTest.

Class

DependencyFieldItem
A test class.

Namespace

Drupal\Tests\field\Unit

Code

public static function calculateDependencies(FieldDefinitionInterface $definition) {
  return [
    'module' => [
      'test_module3',
    ],
  ];
}