You are here

function helper_registry_files_alter in Helper 7

Implements hook_registry_files_alter().

File

./helper.module, line 224

Code

function helper_registry_files_alter(&$files, $modules) {
  foreach ($modules as $module) {

    // If the selenium module is avaiable, but disabled, it causes fatal errors
    // when trying to access the Testing UI.
    if (!$module->status && $module->name == 'selenium') {
      $dir = $module->dir;
      $files[$dir . '/drupal_selenium_web_test_case.php'] = array(
        'module' => 'selenium',
        'weight' => 0,
      );
    }
  }
}