function xautoload_registry_files_alter in X Autoload 7
Same name and namespace in other branches
- 7.5 xautoload.system.inc \xautoload_registry_files_alter()
- 7.2 xautoload.module \xautoload_registry_files_alter()
- 7.3 xautoload.module \xautoload_registry_files_alter()
- 7.4 xautoload.system.inc \xautoload_registry_files_alter()
Implements hook_registry_files_alter()
Support wildcard syntax in the files[] setting in your module's info file.
File
- ./
xautoload.module, line 50
Code
function xautoload_registry_files_alter(&$files, $modules) {
$orig = $files;
// The class file is loaded using the regular uncached xautoload autoload.
$rec_scan = new xautoload_RecursiveScan($files);
foreach ($files as $path => $file) {
$rec_scan
->check($path, $file);
}
}