NodeTestBase::$modules

Same name in this branch
  1. 8.9.x core/modules/node/src/Tests/Views/NodeTestBase.php \Drupal\node\Tests\Views\NodeTestBase::modules
  2. 8.9.x core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::modules
  3. 8.9.x core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::modules
Same name in other branches
  1. 9 core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::modules
  2. 9 core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::modules
  3. 10 core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::modules
  4. 10 core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::modules
  5. 11.x core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::modules
  6. 11.x core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::modules

Modules to enable.

Type: array

File

core/modules/node/src/Tests/NodeTestBase.php, line 27

Class

NodeTestBase
Sets up page and article content types.

Namespace

Drupal\node\Tests

Code

public static $modules = [
    'node',
    'datetime',
];

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