function hook_colors_build_selector in Colors 7
Builds a selector string.
Parameters
$class: Class name used for the new selector string.
Return value
The built selector.
1 function implements hook_colors_build_selector()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- colors_colors_build_selector in ./
colors.module - Implements hook_colors_build_selector().
File
- ./
colors.api.php, line 36 - Hooks provided by the Colors module.
Code
function hook_colors_build_selector($class) {
$selector = '.' . $class . ',';
$selector .= '.' . $class . 'a';
return $selector;
}