class TestTaskWithUserInput
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
- 8.9.x core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTaskWithUserInput.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTaskWithUserInput
- 11.x core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTaskWithUserInput.php \Drupal\menu_test\Plugin\Menu\LocalTask\TestTaskWithUserInput
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Menu\LocalTaskDefault extends \Drupal\Component\Plugin\PluginBase implements \Drupal\Core\Menu\LocalTaskInterface, \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Core\DependencyInjection\DependencySerializationTrait
- class \Drupal\menu_test\Plugin\Menu\LocalTask\TestTaskWithUserInput extends \Drupal\Core\Menu\LocalTaskDefault
- class \Drupal\Core\Menu\LocalTaskDefault extends \Drupal\Component\Plugin\PluginBase implements \Drupal\Core\Menu\LocalTaskInterface, \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Core\DependencyInjection\DependencySerializationTrait
Expanded class hierarchy of TestTaskWithUserInput
1 string reference to 'TestTaskWithUserInput'
- menu_test.links.task.yml in core/
modules/ system/ tests/ modules/ menu_test/ menu_test.links.task.yml - core/modules/system/tests/modules/menu_test/menu_test.links.task.yml
File
-
core/
modules/ system/ tests/ modules/ menu_test/ src/ Plugin/ Menu/ LocalTask/ TestTaskWithUserInput.php, line 8
Namespace
Drupal\menu_test\Plugin\Menu\LocalTaskView source
class TestTaskWithUserInput extends LocalTaskDefault {
/**
* {@inheritdoc}
*/
public function getTitle(?Request $request = NULL) {
return "<script>alert('Welcome to the jungle!')</script>";
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.