FieldCounterTest::$modules

Same name in this branch
  1. 8.9.x core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php \Drupal\Tests\rest\Functional\Views\FieldCounterTest::modules
Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php \Drupal\Tests\views\Kernel\Handler\FieldCounterTest::modules
  2. 9 core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php \Drupal\Tests\rest\Functional\Views\FieldCounterTest::modules
  3. 10 core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php \Drupal\Tests\views\Kernel\Handler\FieldCounterTest::modules
  4. 10 core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php \Drupal\Tests\rest\Functional\Views\FieldCounterTest::modules
  5. 11.x core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php \Drupal\Tests\views\Kernel\Handler\FieldCounterTest::modules
  6. 11.x core/modules/rest/tests/src/Functional/Views/FieldCounterTest.php \Drupal\Tests\rest\Functional\Views\FieldCounterTest::modules

Modules to enable.

Type: array

Overrides ViewsKernelTestBase::$modules

File

core/modules/views/tests/src/Kernel/Handler/FieldCounterTest.php, line 21

Class

FieldCounterTest
Tests the <a href="/api/drupal/core%21modules%21views%21src%21Plugin%21views%21field%21Counter.php/class/Counter/8.9.x" title="Field handler to show a counter of the current row." class="local">Drupal\views\Plugin\views\field\Counter</a> handler.

Namespace

Drupal\Tests\views\Kernel\Handler

Code

public static $modules = [
    'user',
];

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