NodeTestBase::$modules

Same name in this branch
  1. 9 core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::modules
Same name in other branches
  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/src/Tests/NodeTestBase.php \Drupal\node\Tests\NodeTestBase::modules
  3. 8.9.x core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::modules
  4. 8.9.x core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::modules
  5. 10 core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::modules
  6. 10 core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::modules
  7. 11.x core/modules/node/tests/src/Functional/Views/NodeTestBase.php \Drupal\Tests\node\Functional\Views\NodeTestBase::modules
  8. 11.x core/modules/node/tests/src/Functional/NodeTestBase.php \Drupal\Tests\node\Functional\NodeTestBase::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/node/tests/src/Functional/NodeTestBase.php, line 20

Class

NodeTestBase
Sets up page and article content types.

Namespace

Drupal\Tests\node\Functional

Code

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

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