You are here

public function RenderArrayNonHtmlSubscriberTestController::rawString in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php \Drupal\render_array_non_html_subscriber_test\RenderArrayNonHtmlSubscriberTestController::rawString()
  2. 9 core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php \Drupal\render_array_non_html_subscriber_test\RenderArrayNonHtmlSubscriberTestController::rawString()

Return value

string

1 string reference to 'RenderArrayNonHtmlSubscriberTestController::rawString'
render_array_non_html_subscriber_test.routing.yml in core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.routing.yml
core/modules/system/tests/modules/render_array_non_html_subscriber_test/render_array_non_html_subscriber_test.routing.yml

File

core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php, line 13

Class

RenderArrayNonHtmlSubscriberTestController

Namespace

Drupal\render_array_non_html_subscriber_test

Code

public function rawString() {
  return new Response($this
    ->t('Raw controller response.'));
}