RenderArrayNonHtmlSubscriberTest::$modules

Same name in other branches
  1. 8.9.x core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php \Drupal\Tests\system\Functional\Render\RenderArrayNonHtmlSubscriberTest::modules
  2. 10 core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php \Drupal\Tests\system\Functional\Render\RenderArrayNonHtmlSubscriberTest::modules
  3. 11.x core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php \Drupal\Tests\system\Functional\Render\RenderArrayNonHtmlSubscriberTest::modules

Modules to enable.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php, line 20

Class

RenderArrayNonHtmlSubscriberTest
Functional test verifying that render array throws 406 for non-HTML requests.

Namespace

Drupal\Tests\system\Functional\Render

Code

protected static $modules = [
    'render_array_non_html_subscriber_test',
];

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