esolitos / entity_collection

This is the main repository where the D8 version of Drupal's Entity collection will be developed.
https://www.drupal.org/project/entity_collection
GNU General Public License v3.0
1 stars 1 forks source link

EntityCollectionHtmlRouteProvider.php #6

Closed efpapado closed 7 years ago

efpapado commented 7 years ago

Why did you implement the routing into a class (EntityCollectionHtmlRouteProvider) and not into a entity_collection.routing.yml file?

esolitos commented 7 years ago

Because in that way we can have dynamic routes, see this documentation. This is useful since in my mind each "AdminUI" plugin can define its own route.