You are here

function views_form_id in Views (for Drupal 7) 8.3

Same name and namespace in other branches
  1. 6.3 views.module \views_form_id()
  2. 7.3 views.module \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 theme/theme.inc
Preprocess the primary theme implementation for a view.

File

./views.module, line 120
Primarily Drupal hooks and global API functions to manipulate views.

Code

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