function views_forms

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

./views.module, line 53

Code

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