You are here

function draggableviews_theme in DraggableViews 7

Same name and namespace in other branches
  1. 6.3 draggableviews.module \draggableviews_theme()
  2. 6 draggableviews.module \draggableviews_theme()
  3. 6.2 draggableviews.module \draggableviews_theme()

Implements hook_theme().

File

./draggableviews.module, line 201
Draggableviews module provides a style plugin for views. With this plugin rows become draggable and can be organized in complex structures.

Code

function draggableviews_theme() {
  $array = array();
  $array['draggableviews_ui_style_plugin_draggabletable'] = array(
    'render element' => 'form',
  );

  // Register theme function for all views.
  $array['draggableviews_view_draggabletable_form'] = array(
    'template' => 'draggableviews-view-draggabletable-form',
    'render element' => 'form',
  );
  return $array;
}