Issue #2083547 by donquixote: Implement PSR-4 for module-provided class files.
This affects class loading, plugin discovery and test discovery. PSR-0 is still supported, and no module class files are moved yet.
... | ... | @@ -26,10 +26,10 @@ |
"zendframework/zend-feed": "2.2.*" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Drupal\\Core": "core/lib/", | ||
"Drupal\\Component": "core/lib/", | ||
"Drupal\\Driver": "drivers/lib/" | ||
"psr-4": { | ||
"Drupal\\Core\\": "core/lib/Drupal/Core", | ||
"Drupal\\Component\\": "core/lib/Drupal/Component", | ||
"Drupal\\Driver\\": "drivers/lib/Drupal/Driver" | ||
}, | ||
"files": [ | ||
"core/lib/Drupal.php" | ||
... | ... |
Please register or sign in to comment