AlterTest::$modules

Same name in this branch
  1. 11.x core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules
Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules
  2. 9 core/modules/system/tests/src/Functional/Common/AlterTest.php \Drupal\Tests\system\Functional\Common\AlterTest::modules
  3. 8.9.x core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules
  4. 8.9.x core/modules/system/tests/src/Functional/Common/AlterTest.php \Drupal\Tests\system\Functional\Common\AlterTest::modules
  5. 10 core/modules/system/tests/src/Kernel/Common/AlterTest.php \Drupal\Tests\system\Kernel\Common\AlterTest::modules
  6. 10 core/modules/system/tests/src/Functional/Form/AlterTest.php \Drupal\Tests\system\Functional\Form\AlterTest::modules

Type: modules

Overrides KernelTestBase::$modules

File

core/modules/system/tests/src/Kernel/Common/AlterTest.php, line 19

Class

AlterTest
Tests alteration of arguments passed to <a href="/api/drupal/core%21lib%21Drupal.php/class/Drupal/11.x" title="Static Service Container wrapper." class="local">\Drupal</a>::moduleHandler-&gt;alter().

Namespace

Drupal\Tests\system\Kernel\Common

Code

protected static $modules = [
    'block',
    'common_test',
    'system',
];

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