You are here

function spaces_test_system_info_alter in Spaces 7

Same name and namespace in other branches
  1. 6.3 tests/spaces_test.module \spaces_test_system_info_alter()
  2. 7.3 tests/spaces_test.module \spaces_test_system_info_alter()

Implements hook_system_info_alter().

Expose the testing feature in Features module to spaces

File

tests/spaces_test.module, line 10

Code

function spaces_test_system_info_alter(&$info, $file, $type) {
  if ($file->name == 'features_test') {
    $info['spaces']['types'][] = 'all';
  }
}