function MenuTestController::breadcrumbTitleCallback
Same name in other branches
- 9 core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php \Drupal\menu_test\Controller\MenuTestController::breadcrumbTitleCallback()
- 10 core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php \Drupal\menu_test\Controller\MenuTestController::breadcrumbTitleCallback()
- 11.x core/modules/system/tests/modules/menu_test/src/Controller/MenuTestController.php \Drupal\menu_test\Controller\MenuTestController::breadcrumbTitleCallback()
A title callback for XSS breadcrumb check.
Return value
string
1 string reference to 'MenuTestController::breadcrumbTitleCallback'
- menu_test.routing.yml in core/
modules/ system/ tests/ modules/ menu_test/ menu_test.routing.yml - core/modules/system/tests/modules/menu_test/menu_test.routing.yml
File
-
core/
modules/ system/ tests/ modules/ menu_test/ src/ Controller/ MenuTestController.php, line 119
Class
- MenuTestController
- Controller routines for menu_test routes.
Namespace
Drupal\menu_test\ControllerCode
public function breadcrumbTitleCallback() {
return '<script>alert(123);</script>';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.