function MenuExampleController::placeholderArgsDisplay
Same name in other branches
- 3.x modules/menu_example/src/Controller/MenuExampleController.php \Drupal\menu_example\Controller\MenuExampleController::placeholderArgsDisplay()
Displays placeholder argument supplied in URL.
Parameters
int $arg: URL argument.
Return value
array URL argument.
See also
\Drupal\menu_example\Controller\MenuExampleController::placeholderArgs()
1 string reference to 'MenuExampleController::placeholderArgsDisplay'
- menu_example.routing.yml in modules/
menu_example/ menu_example.routing.yml - modules/menu_example/menu_example.routing.yml
File
-
modules/
menu_example/ src/ Controller/ MenuExampleController.php, line 252
Class
- MenuExampleController
- Controller routines for menu example routes.
Namespace
Drupal\menu_example\ControllerCode
public function placeholderArgsDisplay($arg) {
return [
'#markup' => $arg,
];
}