function SupernovaGenerator::setContext
File
-
core/
modules/ help/ tests/ modules/ help_test/ src/ SupernovaGenerator.php, line 16
Class
- SupernovaGenerator
- Implements a URL generator which always thrown an exception.
Namespace
Drupal\help_testCode
public function setContext(RequestContext $context) {
throw new \Exception();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.