You are here

function template_preprocess_libraries_table_with_title in Libraries API 7.2

Prepare variables for theming a table with a title.

Parameters

array $variables: An array of theme variables, passed by reference.

File

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

Code

function template_preprocess_libraries_table_with_title(&$variables) {
  drupal_add_css(drupal_get_path('module', 'libraries') . '/css/libraries.admin.css');
  $variables['attributes'] += array(
    'class' => array(),
  );
  $variables['attributes']['class'][] = 'libraries-table';
}