You are here

function draggableviews_forms in DraggableViews 7

Same name and namespace in other branches
  1. 6.3 draggableviews.module \draggableviews_forms()

Implements hook_forms().

File

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

Code

function draggableviews_forms() {
  $args = func_get_args();
  $form_id = $args[0];
  $forms = array();
  if (strpos($form_id, "draggableviews_view_draggabletable_form") === 0) {
    $forms[$form_id] = array(
      'callback' => 'draggableviews_view_draggabletable_form',
    );
  }
  return $forms;
}