BlockInvalidRegionTest::$modules

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

Modules to install.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php, line 21

Class

BlockInvalidRegionTest
Tests that an active block assigned to a non-existing region triggers the warning message and is disabled.

Namespace

Drupal\Tests\block\Functional

Code

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

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