You are here

function spaces_test_system_info_alter in Spaces 6.3

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

Implementation of 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) {
  if ($file->name == 'features_test') {
    $info['spaces']['types'][] = 'all';
  }
}