You are here

function commons_misc_system_info_alter in Drupal Commons 7.3

Implements hook_system_info_alter()

File

modules/commons/commons_misc/commons_misc.module, line 12

Code

function commons_misc_system_info_alter(&$info, $file, $type) {

  // Remove the OG Example module from the features page as it displays a
  // conflict with Commons Body, which is detected as a false positive when
  // using behavioural tests to catch feature conflicts.
  if ($type == 'module' && $file->name == 'og_example') {
    unset($info['features']);
  }
}