ToolbarHookToolbarTest::$modules

Same name and namespace in other branches
  1. 8.9.x core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php \Drupal\Tests\toolbar\Functional\ToolbarHookToolbarTest::modules
  2. 10 core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php \Drupal\Tests\toolbar\Functional\ToolbarHookToolbarTest::modules
  3. 11.x core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php \Drupal\Tests\toolbar\Functional\ToolbarHookToolbarTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/toolbar/tests/src/Functional/ToolbarHookToolbarTest.php, line 26

Class

ToolbarHookToolbarTest
Tests the implementation of <a href="/api/drupal/core%21modules%21toolbar%21toolbar.api.php/function/hook_toolbar/9" title="Add items to the toolbar menu." class="local">hook_toolbar</a>() by a module.

Namespace

Drupal\Tests\toolbar\Functional

Code

protected static $modules = [
    'toolbar',
    'toolbar_test',
    'test_page_test',
];

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