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