You are here

public function MenuBlockTestController::menuBlockTestCallback in Menu Block 8

Returns placeholder page content which can be used for testing.

Return value

string A string that can be used for comparison.

1 string reference to 'MenuBlockTestController::menuBlockTestCallback'
menu_block_test.routing.yml in tests/modules/menu_block_test/menu_block_test.routing.yml
tests/modules/menu_block_test/menu_block_test.routing.yml

File

tests/modules/menu_block_test/src/Controller/MenuBlockTestController.php, line 18

Class

MenuBlockTestController
Controller routines for menu_block_test routes.

Namespace

Drupal\menu_block_test\Controller

Code

public function menuBlockTestCallback() {
  return [
    '#markup' => 'This is the menuBlockTestCallback() content.',
  ];
}