You are here

protected static property BlockPlacementWhitelistTest::$modules in Layout Builder Restrictions 8.2

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 LayoutBuilderRestrictionsTestBase::$modules

See also

\Drupal\Tests\BrowserTestBase::installDrupal()

File

modules/layout_builder_restrictions_by_region/tests/src/FunctionalJavascript/BlockPlacementWhitelistTest.php, line 17

Class

BlockPlacementWhitelistTest
Demonstrate that blocks can be individually restricted.

Namespace

Drupal\Tests\layout_builder_restrictions_by_region\FunctionalJavascript

Code

protected static $modules = [
  'block',
  'layout_builder',
  'layout_builder_restrictions',
  'layout_builder_restrictions_by_region',
  'node',
  'field_ui',
  'block_content',
];