BlockInterfaceTest::$modules

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

Type: modules

Overrides KernelTestBase::$modules

File

core/modules/block/tests/src/Kernel/BlockInterfaceTest.php, line 16

Class

BlockInterfaceTest
Tests that the block plugin can work properly without a supporting entity.

Namespace

Drupal\Tests\block\Kernel

Code

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

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