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

Consider to inject a class into the Core annotated discovery implementation so that namespaces can be updated

$
0
0

Follow-up to #1836008: Remove drupal_classloader() use in Drupal\Core\AnnotatedClassDiscovery

Quick Idea: Add a new interface that just defines a single method, getNamespaces() or something like that. Then we can either let the module_handler implement that or have class that contains the handler and includes component/theme/custom directories separately.

Having it in a separate interface would also make it easy to use for static lists and tests.


Viewing all articles
Browse latest Browse all 292313

Trending Articles



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