RenderArrayNonHtmlSubscriberTest::$modules
Same name in other branches
- 8.9.x core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php \Drupal\Tests\system\Functional\Render\RenderArrayNonHtmlSubscriberTest::modules
- 10 core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php \Drupal\Tests\system\Functional\Render\RenderArrayNonHtmlSubscriberTest::modules
- 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\RenderCode
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.