This project is not covered by Drupal’s security advisory policy.

The development of this module has been abandoned, as an issue to use #[Route] attribute for route discovery is underway.

Check the issue here : https://www.drupal.org/project/drupal/issues/3311365

This module will allow developers to declare route directly on Form classes & Controller methods using dedicated PHP Attributes.

Features

Adds two PHP Attributes :

  • #[ControllerRoute(...)] : a method attribute that allows declaration of routes on controller methods
  • #[FormRoute(...)] : a class attribute that allows declaration of routes on form classes

Project information

Releases