function color_get_info
7.x color.module | color_get_info($theme) |
6.x color.module | color_get_info($theme) |
Retrieve the color.module info for a particular theme.
3 calls to color_get_info()
- color_form_alter in drupal-6.x/
modules/ color/ color.module - Implementation of hook_form_alter().
- color_get_palette in drupal-6.x/
modules/ color/ color.module - Helper function to retrieve the color palette for a particular theme.
- color_scheme_form in drupal-6.x/
modules/ color/ color.module - Form callback. Returns the configuration form.
File
- drupal-6.x/
modules/ color/ color.module, line 122
Code
function color_get_info($theme) {
$path = drupal_get_path('theme', $theme);
$file = $path . '/color/color.inc';
if ($path && file_exists($file)) {
include $file;
return $info;
}
}