Review main Merged

73191[FEATURE] Add composer package name to backend routes

Christian Kuhn CR +2 V +2 Normal +166 −10 updated 02/18/22, 13:06

Commit message

We have three files that define backend routes:

* Configuration/Backend/Routes.php
* Configuration/Backend/AjaxRoutes.php
* Configuration/Backend/Modules.php

Routes defined by these files now contain the
composer package name ('name' attribute in composer.json)
of the package that defined the route as option.

Backend modules now have a getPackageName()
method.

This is useful as shown with #96962 and will
likely find further usages in the future.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 3

Files 20