BlockTestBase::$modules

Same name in this branch
  1. 8.9.x core/modules/block/src/Tests/BlockTestBase.php \Drupal\block\Tests\BlockTestBase::modules
Same name in other branches
  1. 9 core/modules/block/tests/src/Functional/BlockTestBase.php \Drupal\Tests\block\Functional\BlockTestBase::modules
  2. 10 core/modules/block/tests/src/Functional/BlockTestBase.php \Drupal\Tests\block\Functional\BlockTestBase::modules
  3. 11.x core/modules/block/tests/src/Functional/BlockTestBase.php \Drupal\Tests\block\Functional\BlockTestBase::modules

Modules to install.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/block/tests/src/Functional/BlockTestBase.php, line 18

Class

BlockTestBase
Provides setup and helper methods for block module tests.

Namespace

Drupal\Tests\block\Functional

Code

public static $modules = [
    'block',
    'filter',
    'test_page_test',
    'help',
    'block_test',
];

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