1 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

core/modules/views/views.module, line 41
Primarily Backdrop 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',
      ),
    );
  }
}