You are here

function theme_access_overview_scheme_name in Access Control Kit 7

Returns HTML for the Name column on the access scheme admin overview page.

Parameters

array $variables: An associative array containing:

  • scheme: The access scheme.

Return value

string HTML representing the themed output.

1 theme call to theme_access_overview_scheme_name()
access_overview_schemes in ./access_schemes.admin.inc
Menu page callback; the access schemes overview page.

File

./access_schemes.admin.inc, line 63
Access schemes administrative UI for the access control kit module.

Code

function theme_access_overview_scheme_name($variables) {
  $scheme = $variables['scheme'];
  $output = check_plain($scheme->name);
  $output .= ' <small>' . t('(Machine name: @name)', array(
    '@name' => $scheme->machine_name,
  )) . '</small>';
  $output .= '<div class="description">' . filter_xss_admin($scheme->description) . '</div>';
  return $output;
}