You are here

function footable_theme in FooTable 7.2

Same name and namespace in other branches
  1. 8.2 footable.module \footable_theme()

Implements hook_theme().

File

./footable.module, line 41
Provides Views integration for the jQuery FooTable plugin.

Code

function footable_theme($existing, $type, $theme, $path) {
  return array(
    'footable' => array(
      'variables' => array(
        'header' => NULL,
        'rows' => NULL,
        'attributes' => NULL,
        'caption' => NULL,
        'breakpoints' => array(),
        'expand_first' => FALSE,
        'show_header' => TRUE,
        'toggle_column' => 'first',
      ),
      'file' => 'footable.theme.inc',
    ),
    'footable_style_plugin_table' => array(
      'render element' => 'form',
      'file' => 'footable.theme.inc',
    ),
  );
}