function theme_encrypt_configs_list_description in Encrypt 7.2
Same name and namespace in other branches
- 7.3 includes/encrypt.admin.inc \theme_encrypt_configs_list_description()
Returns HTML for a configuration description.
Parameters
array $variables: An associative array containing:
- label: The human-readable label of the configuration.
- name: The machine name of the configuration.
- description: A brief description of the configuration.
1 theme call to theme_encrypt_configs_list_description()
- encrypt_configs_list in includes/
encrypt.admin.inc - Menu callback; displays the list of configurations.
File
- includes/
encrypt.admin.inc, line 523 - This file holds the functions for the Encrypt admin settings.
Code
function theme_encrypt_configs_list_description(array $variables) {
$label = $variables['label'];
$name = $variables['name'];
$description = $variables['description'];
$output = check_plain($label);
$output .= ' <small>' . t('(Machine name: @name)', array(
'@name' => $name,
)) . '</small>';
$output .= '<div class="description">' . filter_xss_admin($description) . '</div>';
return $output;
}