function _hosting_help_class in Hosting 5
Returns a class name for the output of the form elementG
1 call to _hosting_help_class()
- theme_requirement_help in ./
hosting_help.inc - Theme function for displaying contextual help.
File
- ./
hosting_help.inc, line 64 - Hosting help subsystem
Code
function _hosting_help_class($state) {
static $map;
if (!sizeof($map)) {
$map = array(
HOSTING_HELP_ENABLED => 'hosting-help',
HOSTING_HELP_COLLAPSIBLE => 'hosting-help-collapsible',
HOSTING_HELP_COLLAPSED => 'hosting-help-collapsed',
);
}
return $map[$state];
}