You are here

protected static property BlockXssTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/block/tests/src/Functional/BlockXssTest.php \Drupal\Tests\block\Functional\BlockXssTest::modules
  2. 10 core/modules/block/tests/src/Functional/BlockXssTest.php \Drupal\Tests\block\Functional\BlockXssTest::modules

Modules to install.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/block/tests/src/Functional/BlockXssTest.php, line 24

Class

BlockXssTest
Tests that the block module properly escapes block descriptions.

Namespace

Drupal\Tests\block\Functional

Code

protected static $modules = [
  'block',
  'block_content',
  'menu_ui',
  'views',
];