You are here

public function HelpTopicsTestController::testPage in Drupal 9

Displays a dummy page for testing.

Parameters

int $int_param: Required parameter (ignored).

Return value

array Render array for the dummy page.

1 string reference to 'HelpTopicsTestController::testPage'
help_topics_test.routing.yml in core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.routing.yml
core/modules/help_topics/tests/modules/help_topics_test/help_topics_test.routing.yml

File

core/modules/help_topics/tests/modules/help_topics_test/src/Controller/HelpTopicsTestController.php, line 21

Class

HelpTopicsTestController
Returns the response for help_topics_test routes.

Namespace

Drupal\help_topics_test\Controller

Code

public function testPage(int $int_param) {
  $build = [
    '#markup' => 'You have reached the help topics test routing page.',
  ];
  return $build;
}