function TestTaskWithUserInput::getTitle
Same name in other branches
- 9 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTaskWithUserInput.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTaskWithUserInput::getTitle()
- 10 core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTaskWithUserInput.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTaskWithUserInput::getTitle()
- 11.x core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTaskWithUserInput.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTaskWithUserInput::getTitle()
Overrides LocalTaskDefault::getTitle
File
-
core/
modules/ system/ tests/ modules/ menu_test/ src/ Plugin/ Menu/ LocalTask/ TestTaskWithUserInput.php, line 13
Class
Namespace
Drupal\menu_test\Plugin\Menu\LocalTaskCode
public function getTitle(Request $request = NULL) {
return "<script>alert('Welcome to the jungle!')</script>";
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.