protected static property RenderArrayNonHtmlSubscriberTest::$modules in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/Render/RenderArrayNonHtmlSubscriberTest.php \Drupal\Tests\system\Functional\Render\RenderArrayNonHtmlSubscriberTest::modules
- 9 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',
];