Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Downloads
Download xautoload-7.x-5.x-dev.tar.gztar.gz
84.09 KB
MD5: 15ee34fc9aad43129959047e35d1a101
SHA-1: 463fd1d366e747351fac6b02dbea8f1e20837668
SHA-256: 1b8ae37bf3fbf8b22d7a77c40f10c9a0721012abf20d78b789cb20d9e0508a8c
Download xautoload-7.x-5.x-dev.zipzip
177.85 KB
MD5: 91875f7c8e9320b1c599ff4636e553fb
SHA-1: 24e11dbd6322f92856a523d15d5add1f0940eac3
SHA-256: 8b7ce682c42fd0dec4e9ca8d098eac6ce7caa03d2ee3896c0cea13b868cd1252
Release notes
New branch:
- New default mapping:
{"psr-4": {"Drupal\\$module_name\\": "$module_dir/src/"}}
for each enabled module. - New mechanics to guarantee that hook_xautoload() and hook_libraries_info() are executed on request start, and when new modules are enabled (incl xautoload).
- New mechanics to guarantee that default module namespaces are registered damn early on module install.
Yes, you can now use your classes directly from hook_enable(), hook_install() and hook_schema()! Awesome, or not? - Architecture now cleaner (I hope)
- A lot of stuff covered by phpunit, with a VirtualDrupal environment, simulating bootstrap and module enabling in different situations. These tests execute in seconds!