You are here

function xautoload_registry_files_alter in X Autoload 7.2

Same name and namespace in other branches
  1. 7.5 xautoload.system.inc \xautoload_registry_files_alter()
  2. 7 xautoload.module \xautoload_registry_files_alter()
  3. 7.3 xautoload.module \xautoload_registry_files_alter()
  4. 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 176

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_RegistryWildcard_RecursiveScan($files);
  foreach ($files as $path => $file) {
    $rec_scan
      ->check($path, $file);
  }
}