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 Composer to manage Drupal site dependencies
Downloads
Download xautoload-7.x-5.0-beta1.tar.gztar.gz
72.27 KB
MD5: 06a498e27b46922bf5bb93661a13987f
SHA-1: 1d500a9fb5840714f5a0a89ab1eb139a1c406f03
SHA-256: 0999cb49fe4a476d475856af71cecf46bed93bb070a2102436de2fb8b353fa20
Download xautoload-7.x-5.0-beta1.zipzip
141.29 KB
MD5: 0a581b0fc2c68cf5eaec0921b74d179d
SHA-1: 1dae3fd444c5b389be53e26b67b61b47626f7181
SHA-256: 8ea2a323dc310785f1a82317521d7934b32b7e9ac2cd8532cb13d6880efeb9a2
Release notes
First release of the 7.x-5.x branch.
Changes to 7.x-4.x as in https://drupal.org/node/2271469
- 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!