You are here

function hook_colors_get_color_mapping in Colors 7

Gets the color configuration mapping.

Return value

Mapping between the colorable features and the CSS input.

1 function implements hook_colors_get_color_mapping()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

colors_colors_get_color_mapping in ./colors.module
Implements hook_colors_get_color_mapping().

File

./colors.api.php, line 19
Hooks provided by the Colors module.

Code

function hook_colors_get_color_mapping() {
  return array(
    'background' => 'background-color',
    'text' => 'color',
    'border' => 'border-color',
  );
}