ImageItemTest::$modules

Same name in other branches
  1. 8.9.x core/modules/image/tests/src/Kernel/ImageItemTest.php \Drupal\Tests\image\Kernel\ImageItemTest::modules
  2. 10 core/modules/image/tests/src/Kernel/ImageItemTest.php \Drupal\Tests\image\Kernel\ImageItemTest::modules
  3. 11.x core/modules/image/tests/src/Kernel/ImageItemTest.php \Drupal\Tests\image\Kernel\ImageItemTest::modules

Modules to enable.

Type: array

Overrides FieldKernelTestBase::$modules

File

core/modules/image/tests/src/Kernel/ImageItemTest.php, line 29

Class

ImageItemTest
Tests using entity fields of the image field type.

Namespace

Drupal\Tests\image\Kernel

Code

protected static $modules = [
    'file',
    'image',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.