function DependencyFieldItem::calculateDependencies
Same name in other branches
- 9 core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php \Drupal\Tests\field\Unit\DependencyFieldItem::calculateDependencies()
- 10 core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php \Drupal\Tests\field\Unit\DependencyFieldItem::calculateDependencies()
- 11.x core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php \Drupal\Tests\field\Unit\DependencyFieldItem::calculateDependencies()
File
-
core/
modules/ field/ tests/ src/ Unit/ FieldConfigEntityUnitTest.php, line 319
Class
- DependencyFieldItem
- A test class.
Namespace
Drupal\Tests\field\UnitCode
public static function calculateDependencies(FieldDefinitionInterface $definition) {
return [
'module' => [
'test_module3',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.