You are here

public static function DependencyFieldItem::calculateDependencies in Zircon Profile 8

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

File

core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php, line 318
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',
    ],
  ];
}