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',
      ),
    );
  }
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.