You are here

function colors_colors_get_color_mapping in Colors 7

Same name and namespace in other branches
  1. 8 colors.module \colors_colors_get_color_mapping()

Implements hook_colors_get_color_mapping().

Gets the color configuration mapping.

Return value

Mapping between the colorable features and the CSS input.

File

./colors.module, line 282
Provides an API to match selectors with a color configuration.

Code

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