BlockTemplateSuggestionsTest::$modules

Same name in other branches
  1. 8.9.x core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block\Kernel\BlockTemplateSuggestionsTest::modules
  2. 10 core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block_content\Kernel\BlockTemplateSuggestionsTest::modules
  3. 10 core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block\Kernel\BlockTemplateSuggestionsTest::modules
  4. 11.x core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block_content\Kernel\BlockTemplateSuggestionsTest::modules
  5. 11.x core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block\Kernel\BlockTemplateSuggestionsTest::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php, line 18

Class

BlockTemplateSuggestionsTest
Tests the block_theme_suggestions_block() function.

Namespace

Drupal\Tests\block\Kernel

Code

protected static $modules = [
    'block',
    'system',
];

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