X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Frender_array_non_html_subscriber_test%2Fsrc%2FRenderArrayNonHtmlSubscriberTestController.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Frender_array_non_html_subscriber_test%2Fsrc%2FRenderArrayNonHtmlSubscriberTestController.php;h=73a4622b2d26916542b9544023a3d64118b0c8d8;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=0000000000000000000000000000000000000000;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php b/web/core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php new file mode 100644 index 000000000..73a4622b2 --- /dev/null +++ b/web/core/modules/system/tests/modules/render_array_non_html_subscriber_test/src/RenderArrayNonHtmlSubscriberTestController.php @@ -0,0 +1,28 @@ +t('Raw controller response.')); + } + + /** + * @return array + */ + public function renderArray() { + return [ + '#type' => 'html_tag', + '#tag' => 'p', + '#value' => $this->t('Controller response successfully rendered.'), + ]; + } + +}