RenderElementTypesTest::$modules

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php \Drupal\KernelTests\Core\Render\Element\RenderElementTypesTest::modules
  2. 10 core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php \Drupal\KernelTests\Core\Render\Element\RenderElementTypesTest::modules
  3. 11.x core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php \Drupal\KernelTests\Core\Render\Element\RenderElementTypesTest::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/Render/Element/RenderElementTypesTest.php, line 21

Class

RenderElementTypesTest
Tests the markup of core render element types passed to <a href="/api/drupal/core%21includes%21common.inc/function/drupal_render/8.9.x" title="Renders HTML given a structured array tree." class="local">drupal_render</a>().

Namespace

Drupal\KernelTests\Core\Render\Element

Code

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

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