You are here

function skinr_test_system_theme_info in Skinr 8.2

Same name and namespace in other branches
  1. 7.2 tests/skinr_test/skinr_test.module \skinr_test_system_theme_info()

Implements hook_system_theme_info().

See also

http://drupal.org/node/953336

File

tests/modules/skinr_test/skinr_test.module, line 122
Skinr testing module.

Code

function skinr_test_system_theme_info() {
  $path = drupal_get_path('module', 'skinr_test');
  $test_themes = array(
    'basetheme',
    'subtheme',
    'basetheme_other',
    'subtheme_other',
  );
  foreach ($test_themes as $theme) {
    $themes["skinr_test_{$theme}"] = $path . "/themes/skinr_test_{$theme}/skinr_test_{$theme}.info";
  }
  return $themes;
}