MenuAccessControlHandlerTest::$modules

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php \Drupal\Tests\system\Kernel\MenuAccessControlHandlerTest::modules
  2. 10 core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php \Drupal\Tests\system\Kernel\MenuAccessControlHandlerTest::modules
  3. 11.x core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php \Drupal\Tests\system\Kernel\MenuAccessControlHandlerTest::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php, line 27

Class

MenuAccessControlHandlerTest
@coversDefaultClass <a href="/api/drupal/core%21modules%21system%21src%21MenuAccessControlHandler.php/class/MenuAccessControlHandler/8.9.x" title="Defines the access control handler for the menu entity type." class="local">\Drupal\system\MenuAccessControlHandler</a> @group system

Namespace

Drupal\Tests\system\Kernel

Code

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

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