panels_views.admin.inc in Panels 6.2
Provides views as panels content, configurable by the administrator. Each view provided as panel content must be configured in advance, but once configured, building panels with views is a little bit simpler.
File
panels_views/panels_views.admin.incView source
<?php
/**
* @file panels_views.module
*
* Provides views as panels content, configurable by the administrator.
* Each view provided as panel content must be configured in advance,
* but once configured, building panels with views is a little bit simpler.
*/
function panels_views_admin_page() {
$form['panels_views_all_views'] = array(
'#type' => 'checkbox',
'#title' => t('Make all views available as panes'),
'#description' => t("If checked, all views will be made available as content panes to be added to content types. If not checked, only Views that have a 'Panel pane' display will be available as content panes."),
'#default_value' => variable_get('panels_views_all_views', FALSE),
);
return system_settings_form($form);
}
Functions
Name | Description |
---|---|
panels_views_admin_page | @file panels_views.module |