StatisticsTestBase::$modules

Same name in other branches
  1. 8.9.x core/modules/statistics/src/Tests/StatisticsTestBase.php \Drupal\statistics\Tests\StatisticsTestBase::modules
  2. 8.9.x core/modules/statistics/tests/src/Functional/StatisticsTestBase.php \Drupal\Tests\statistics\Functional\StatisticsTestBase::modules
  3. 10 core/modules/statistics/tests/src/Functional/StatisticsTestBase.php \Drupal\Tests\statistics\Functional\StatisticsTestBase::modules
  4. 11.x core/modules/statistics/tests/src/Functional/StatisticsTestBase.php \Drupal\Tests\statistics\Functional\StatisticsTestBase::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/statistics/tests/src/Functional/StatisticsTestBase.php, line 17

Class

StatisticsTestBase
Defines a base class for testing the Statistics module.

Namespace

Drupal\Tests\statistics\Functional

Code

protected static $modules = [
    'node',
    'block',
    'ban',
    'statistics',
];

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