You are here

function theme_key_configs_list_description in Key 7.2

Same name and namespace in other branches
  1. 7.3 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.
  • name: The machine name of the configuration.
  • description: A brief description of the configuration.
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 344
Administrative functionality for managing key configurations.

Code

function theme_key_configs_list_description($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;
}