function colors_colors_get_color_mapping in Colors 8
Same name and namespace in other branches
- 7 colors.module \colors_colors_get_color_mapping()
Retrieves the color mapping of the config entity palette to css properties.
Return value
array
File
- ./
colors.module, line 179 - Controls assigning colors to entities.
Code
function colors_colors_get_color_mapping() {
return [
'bg' => 'background-color',
'borders' => 'border-color',
'text' => 'color',
];
}