You are here

public function HelpPageTestController::noHelp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help/tests/modules/help_page_test/src/HelpPageTestController.php \Drupal\help_page_test\HelpPageTestController::noHelp()

Provides a route with no help.

Return value

array A render array.

1 string reference to 'HelpPageTestController::noHelp'
help_page_test.routing.yml in core/modules/help/tests/modules/help_page_test/help_page_test.routing.yml
core/modules/help/tests/modules/help_page_test/help_page_test.routing.yml

File

core/modules/help/tests/modules/help_page_test/src/HelpPageTestController.php, line 26

Class

HelpPageTestController
Provides controllers for testing the help block.

Namespace

Drupal\help_page_test

Code

public function noHelp() {
  return [
    '#markup' => 'A route without help.',
  ];
}