public function RenderPlaceholderMessageTestController::messagesPlaceholderFirst in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php \Drupal\render_placeholder_message_test\RenderPlaceholderMessageTestController::messagesPlaceholderFirst()
- 9 core/modules/system/tests/modules/render_placeholder_message_test/src/RenderPlaceholderMessageTestController.php \Drupal\render_placeholder_message_test\RenderPlaceholderMessageTestController::messagesPlaceholderFirst()
Return value
array
1 string reference to 'RenderPlaceholderMessageTestController::messagesPlaceholderFirst'
- render_placeholder_message_test.routing.yml in core/
modules/ system/ tests/ modules/ render_placeholder_message_test/ render_placeholder_message_test.routing.yml - core/modules/system/tests/modules/render_placeholder_message_test/render_placeholder_message_test.routing.yml
File
- core/
modules/ system/ tests/ modules/ render_placeholder_message_test/ src/ RenderPlaceholderMessageTestController.php, line 17
Class
Namespace
Drupal\render_placeholder_message_testCode
public function messagesPlaceholderFirst() {
return $this
->build([
'<drupal-render-placeholder callback="Drupal\\Core\\Render\\Element\\StatusMessages::renderMessages" arguments="0" token="_HAdUpwWmet0TOTe2PSiJuMntExoshbm1kh2wQzzzAA"></drupal-render-placeholder>',
'<drupal-render-placeholder callback="\\Drupal\\render_placeholder_message_test\\RenderPlaceholderMessageTestController::setAndLogMessage" arguments="0=P1" token="JBp04zOwNhYqMBgRkyBnPdma8m4l2elDnXMJ9tEsP6k"></drupal-render-placeholder>',
'<drupal-render-placeholder callback="\\Drupal\\render_placeholder_message_test\\RenderPlaceholderMessageTestController::setAndLogMessage" arguments="0=P2" token="JnoubSJT1l92Dm4fJw4EPsSzRsmE88H6Q1zu9-OzDh4"></drupal-render-placeholder>',
]);
}