function SupernovaGenerator::generateFromRoute
Same name in other branches
- 8.9.x core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php \Drupal\help_test\SupernovaGenerator::generateFromRoute()
- 10 core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php \Drupal\help_test\SupernovaGenerator::generateFromRoute()
- 11.x core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php \Drupal\help_test\SupernovaGenerator::generateFromRoute()
Overrides UrlGeneratorInterface::generateFromRoute
File
-
core/
modules/ help/ tests/ modules/ help_test/ src/ SupernovaGenerator.php, line 44
Class
- SupernovaGenerator
- Implements a URL generator which always thrown an exception.
Namespace
Drupal\help_testCode
public function generateFromRoute($name, $parameters = [], $options = [], $collect_bubbleable_metadata = FALSE) {
throw new \Exception();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.