You are here

class DependencyFieldItem 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

A test class.

Hierarchy

Expanded class hierarchy of DependencyFieldItem

See also

\Drupal\Tests\field\Unit\FieldConfigEntityUnitTest::testCalculateDependencies()

File

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

Namespace

Drupal\Tests\field\Unit
View source
class DependencyFieldItem {
  public static function calculateDependencies(FieldDefinitionInterface $definition) {
    return [
      'module' => [
        'test_module3',
      ],
    ];
  }
  public static function onDependencyRemoval($field_config, $dependencies) {
  }

}

Members