8.3.x color.module color_get_info($theme)
8.0.x color.module color_get_info($theme)
8.1.x color.module color_get_info($theme)
8.2.x color.module color_get_info($theme)
8.4.x color.module color_get_info($theme)
5.x color.module color_get_info($theme)
6.x color.module color_get_info($theme)
7.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 modules/color/color.module
Implementation of hook_form_alter().
color_get_palette in modules/color/color.module
Helper function to retrieve the color palette for a particular theme.
color_scheme_form in modules/color/color.module
Form callback. Returns the configuration form.

File

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;
  }
}