FieldNoteItemTest::$modules

Same name in other branches
  1. 8.x-1.x field_permission_example/tests/src/Kernel/FieldNoteItemTest.php \Drupal\Tests\field_permission_example\Kernel\FieldNoteItemTest::modules
  2. 4.0.x modules/field_permission_example/tests/src/Kernel/FieldNoteItemTest.php \Drupal\Tests\field_permission_example\Kernel\FieldNoteItemTest::modules

We add the additional modules we need loaded here.

The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. So, it is not necessary to include modules in your list that a parent class has already declared.

Type: array

Overrides FieldKernelTestBase::$modules

File

modules/field_permission_example/tests/src/Kernel/FieldNoteItemTest.php, line 37

Class

FieldNoteItemTest
Tests our sticky-note field type.

Namespace

Drupal\Tests\field_permission_example\Kernel

Code

protected static $modules = [
    'field_permission_example',
];