You are here

public static property BlockConfigSchemaTest::$modules in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/src/Tests/BlockConfigSchemaTest.php \Drupal\block\Tests\BlockConfigSchemaTest::modules

Modules to enable.

Test classes extending this class, and any classes in the hierarchy up to this class, may specify individual lists of modules to enable by setting this property. The values of all properties in all classes in the hierarchy are merged.

Any modules specified in the $modules property are automatically loaded and set as the fixed module list.

Unlike WebTestBase::setUp(), the specified modules are loaded only, but not automatically installed. Modules need to be installed manually, if needed.

Type: array

Overrides KernelTestBase::$modules

See also

\Drupal\simpletest\KernelTestBase::enableModules()

\Drupal\simpletest\KernelTestBase::setUp()

File

core/modules/block/src/Tests/BlockConfigSchemaTest.php, line 26
Contains \Drupal\block\Tests\BlockConfigSchemaTest.

Class

BlockConfigSchemaTest
Tests the block config schema.

Namespace

Drupal\block\Tests

Code

public static $modules = array(
  'block',
  'aggregator',
  'book',
  'block_content',
  'comment',
  'forum',
  'node',
  'statistics',
  // BlockManager->getModuleName() calls system_get_info().
  'system',
  'taxonomy',
  'user',
  'text',
);