You are here

public static property BlockExampleTest::$modules in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 block_example/tests/src/Functional/BlockExampleTest.php \Drupal\Tests\block_example\Functional\BlockExampleTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

modules/block_example/tests/src/Functional/BlockExampleTest.php, line 27

Class

BlockExampleTest
Test the configuration options and block created by Block Example module.

Namespace

Drupal\Tests\block_example\Functional

Code

public static $modules = [
  'block',
  'block_example',
];