Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295852

Make defining bundle-specific routes easier

$
0
0

I imagine it is a fairly common wish to create a new route or local task that is only applicable to a certain bundle or bundles.

At the moment that requires some custom access code.

Perhaps we could add an optional _bundles parameter to the requirements key for routes in routing.yml? OR modify the _entity_access key to accept a bundle argument in the way that the entity_access contrib project does.


Viewing all articles
Browse latest Browse all 295852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>