1 views.module | views_form_id($view) |
Returns a form ID for a Views form using the name and display of the View.
File
- core/
modules/ views/ views.module, line 54 - Primarily Backdrop hooks and global API functions to manipulate views.
Code
function views_form_id($view) {
$parts = array(
'views_form',
$view->name,
$view->current_display,
);
return implode('_', $parts);
}