You are here

public static property TwigTweakTest::$modules in Twig Tweak 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/TwigTweakTest.php \Drupal\Tests\twig_tweak\Functional\TwigTweakTest::modules
  2. 3.x tests/src/Functional/TwigTweakTest.php \Drupal\Tests\twig_tweak\Functional\TwigTweakTest::modules
  3. 3.1.x tests/src/Functional/TwigTweakTest.php \Drupal\Tests\twig_tweak\Functional\TwigTweakTest::modules

Modules to enable.

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

Type: string[]

Overrides BrowserTestBase::$modules

See also

\Drupal\Tests\BrowserTestBase::installDrupal()

File

tests/src/Functional/TwigTweakTest.php, line 23

Class

TwigTweakTest
A test for Twig extension.

Namespace

Drupal\Tests\twig_tweak\Functional

Code

public static $modules = [
  'twig_tweak',
  'twig_tweak_test',
  'views',
  'node',
  'block',
  'image',
];