You are here

function taxonomy_colors_info in Colors 7

Implements hook_colors_info().

File

includes/taxonomy.colors.inc, line 11
Provides Color integration on behalf of taxonomy.module.

Code

function taxonomy_colors_info() {
  return array(
    'taxonomy_term' => array(
      'title' => 'Taxonomy term',
      'short_description' => t('Enable this vocabulary'),
      'long_description' => t('Colors on a per-taxonomy basis. After enabling a vocabulary, you can set colors for individual taxonomy terms below.'),
      'function' => '_colors_taxonomy_term_callback',
      'multiple_function' => 'taxonomy_get_vocabularies',
    ),
  );
}