You are here

protected static property ImageFormatterTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/image/tests/src/Kernel/ImageFormatterTest.php \Drupal\Tests\image\Kernel\ImageFormatterTest::modules
  2. 10 core/modules/image/tests/src/Kernel/ImageFormatterTest.php \Drupal\Tests\image\Kernel\ImageFormatterTest::modules

Modules to enable.

Type: array

Overrides FieldKernelTestBase::$modules

File

core/modules/image/tests/src/Kernel/ImageFormatterTest.php, line 26

Class

ImageFormatterTest
Tests the image field rendering using entity fields of the image field type.

Namespace

Drupal\Tests\image\Kernel

Code

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