You are here

function theme_libraries_table_with_title in Libraries API 7.2

Returns HTML for a table with a title.

Parameters

array $variables: An array theme variables.

Return value

string The HTML output for this table with a title.

1 theme call to theme_libraries_table_with_title()
libraries_admin_overview in ./libraries.admin.inc
Form generation callback for the libraries overview table.

File

./libraries.theme.inc, line 30
Provides theme and preprocess functions for Libraries API.

Code

function theme_libraries_table_with_title(array $variables) {
  $output = '';
  $output .= '<h2>' . $variables['title'] . '</h2>';
  $output .= '<div class="description">' . $variables['description'] . '</div>';
  $output .= theme_table($variables);
  return $output;
}