You are here

function datatables_theme in DataTables 7.2

Same name and namespace in other branches
  1. 8 datatables.module \datatables_theme()
  2. 6 datatables.module \datatables_theme()
  3. 7 datatables.module \datatables_theme()
  4. 2.x datatables.module \datatables_theme()
  5. 1.x datatables.module \datatables_theme()

Implements hook_theme().

File

./datatables.module, line 11
Provides integration of the jQuery DataTables plugin

Code

function datatables_theme() {
  return array(
    'datatable' => array(
      'variables' => array(
        'header' => NULL,
        'rows' => NULL,
        'attributes' => NULL,
        'caption' => NULL,
      ),
    ),
  );
}