StatisticsAttachedTest::$modules

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

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/statistics/tests/src/Functional/StatisticsAttachedTest.php, line 20

Class

StatisticsAttachedTest
Tests if statistics.js is loaded when content is not printed.

Namespace

Drupal\Tests\statistics\Functional

Code

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

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