function TestRouteSubscriber::__construct
Constructor method.
Parameters
Drupal\Core\State\State $state: The object State.
File
-
tests/
modules/ devel_test/ src/ Routing/ TestRouteSubscriber.php, line 27
Class
- TestRouteSubscriber
- Router subscriber class for testing purpose.
Namespace
Drupal\devel_test\RoutingCode
public function __construct(State $state) {
$this->state = $state;
}