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

Dependency injection in permission callbacks

$
0
0

The permissions callback provider class, being handled by the controller resolver, is capable of dependency injection by implementing ContainerInjectionInterface. The following patch adds that for the node module permission provider. The same should be done for other core modules that provide permission callbacks.


Viewing all articles
Browse latest Browse all 298337

Trending Articles



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