function views_forms

cis7 views.module views_forms($form_id, $args)
cle7 views.module views_forms($form_id, $args)
elmsmedia7 views.module views_forms($form_id, $args)
icor7 views.module views_forms($form_id, $args)
meedjum_blog7 views.module views_forms($form_id, $args)
mooc7 views.module views_forms($form_id, $args)

Implements hook_forms().

To provide distinct form IDs for Views forms, the View name and specific display name are appended to the base ID, views_form_views_form. When such a form is built or submitted, this function will return the proper callback function to use for the given form.

File

sites/all/modules/ulmus/views/views.module, line 27
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_forms($form_id, $args) {
  if (strpos($form_id, 'views_form_') === 0) {
    return array(
      $form_id => array(
        'callback' => 'views_form',
      ),
    );
  }
}