function theme_key_configs_list_description in Key 7.3
Same name and namespace in other branches
- 7.2 includes/key.admin.inc \theme_key_configs_list_description()
Returns HTML for a key configuration description.
Parameters
array $variables: An associative array containing:
- label: The human-readable label of the configuration.
- id: The machine name of the configuration.
- description: A brief description of the configuration.
Return value
string The HTML for the description.
1 theme call to theme_key_configs_list_description()
- key_configs_list in includes/
key.admin.inc - Menu callback; displays the list of key configurations.
File
- includes/
key.admin.inc, line 505 - Administrative functionality for managing key configurations.
Code
function theme_key_configs_list_description($variables) {
$label = $variables['label'];
$id = $variables['id'];
$description = $variables['description'];
$output = check_plain($label);
$output .= ' <small>' . t('(Machine name: @id)', array(
'@id' => $id,
)) . '</small>';
$output .= '<div class="description">' . filter_xss_admin($description) . '</div>';
return $output;
}