Same name in other branches
- 7.x-2.x includes/admin.inc \quicktabs_get_views()
- 8.x-1.x quicktabs.admin.inc \quicktabs_get_views()
Helper function to get all views.
1 call to quicktabs_get_views()
- QuickViewContent::optionsForm dans plugins/
QuickViewContent.inc - Method for returning the form elements to display for this tab type on the admin form.
Fichier
-
./
quicktabs.admin.inc, line 587
Code
function quicktabs_get_views() {
$enabled_views = array();
$views = views_get_all_views();
foreach ($views as $view) {
// Skip disabled views.
if (!empty($views[$view->name]->disabled)) {
continue;
}
$enabled_views[$view->name] = $view->name;
}
ksort($enabled_views);
return $enabled_views;
}