BlockTemplateSuggestionsTest::$modules

Same name in this branch
  1. 11.x core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block_content\Kernel\BlockTemplateSuggestionsTest::modules
Same name in other branches
  1. 9 core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block\Kernel\BlockTemplateSuggestionsTest::modules
  2. 8.9.x core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block\Kernel\BlockTemplateSuggestionsTest::modules
  3. 10 core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php \Drupal\Tests\block_content\Kernel\BlockTemplateSuggestionsTest::modules
  4. 10 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 20

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.