function css_injector_help in CSS Injector 7
Same name and namespace in other branches
- 6 css_injector.module \css_injector_help()
- 7.2 css_injector.module \css_injector_help()
Implements hook_help().
File
- ./
css_injector.module, line 29 - Allows administrators to inject CSS into the page output based on configurable rules. Useful for adding simple CSS tweaks without modifying a site's official theme.
Code
function css_injector_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/config/modules#description':
$output .= t('Allows administrators to inject CSS into the page output based on configurable rules.');
break;
case 'admin/config/development/css-injector':
$output .= '<p>' . t('Use CSS injection rules to add small snippets of CSS to the page output when specific criteria are met. For example, a simple rule could change the page background color at night or float a particular div to the right on node editing pages.') . '</p>';
break;
}
return $output;
}