You are here

function slickgrid_theme in Slickgrid 7

Same name and namespace in other branches
  1. 6 slickgrid.module \slickgrid_theme()
  2. 7.2 slickgrid.module \slickgrid_theme()

Implementation of hook_theme().

File

./slickgrid.module, line 48

Code

function slickgrid_theme() {
  $path = drupal_get_path('module', 'slickgrid');
  return array(
    // slickgrid theme function
    'slickgrid' => array(
      'arguments' => array(
        'view' => array(),
      ),
    ),
    // slickgrid controls theme function
    'slickgrid_controls' => array(
      'arguments' => array(
        'view' => array(),
      ),
    ),
    // slickgrid tabs theme function
    'slickgrid_tabs' => array(
      'arguments' => array(
        'view' => array(),
      ),
    ),
    // Theme the views plugin form table
    'slickgrid_views_plugin_table' => array(
      'render element' => 'form',
      'path' => $path . '/theme',
      'file' => 'theme.inc',
    ),
  );
}