generate:routesubscriber
Génèrer un RouteSubscriber
Utilisation:
drupal generate:routesubscriber [options]
gr
Options disponibles
Option | Détails |
---|---|
--module | Le nom du module. |
--name | Nom du service |
--class | Nom de la classe |
Exemples
Generate a route subscriber specifying the module name, the route name and its class
drupal generate:routesubscriber \
--module="modulename" \
--name="modulename.route_subscriber" \
--class="RouteSubscriber"