You are here

public function SupernovaGenerator::supports in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php \Drupal\help_test\SupernovaGenerator::supports()
  2. 10 core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php \Drupal\help_test\SupernovaGenerator::supports()

File

core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php, line 51

Class

SupernovaGenerator
Implements a URL generator which always thrown an exception.

Namespace

Drupal\help_test

Code

public function supports($name) {
  throw new \Exception();
}