You are here

function editableviews_forms in Editable Views 7

Implements hook_forms().

Handle our dynamic form IDs.

See also

editableviews_plugin_style_row_edit_table::get_form()

File

./editableviews.module, line 27
editableviews.module Contain module code. @todo:

Code

function editableviews_forms($form_id, $args) {

  // We only care about the first piece of the form ID here. Everything after
  // that is only for the benefit of hook_form_alter().
  $length = strlen('editableviews_entity_form');
  if (substr($form_id, 0, $length) == 'editableviews_entity_form') {
    $forms[$form_id] = array(
      'callback' => 'editableviews_entity_form',
    );
    return $forms;
  }
}