function views_form_id

Returns a form ID for a Views form using the name and display of the View.

1 call to views_form_id()
template_preprocess_views_view in drupal/core/modules/views/views.theme.inc
Prepares variables for view templates.

File

drupal/core/modules/views/views.module, line 41
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_form_id($view) {
  $parts = array(
    'views_form',
    $view->storage
      ->id(),
    $view->current_display,
  );
  return implode('_', $parts);
}