function mefibs_display_extender_plugin_blocks::options_summary in MEFIBS - More exposed forms in blocks 7
Provide an option summary.
Overrides views_plugin_display_extender::options_summary
File
- ./
mefibs_display_extender_plugin_blocks.inc, line 76 - Provides an MEFIBS exposed form plugin for View 3.x.
Class
- mefibs_display_extender_plugin_blocks
- Display Extender Plugin class.
Code
function options_summary(&$categories, &$options) {
if ($this->display
->get_option('exposed_block')) {
$value = t('Default');
$blocks = $this
->get_enabled_blocks();
if (count($blocks)) {
$value = t('Default + !count', array(
'!count' => count($blocks),
));
}
$options['mefibs'] = array(
'category' => 'exposed',
'title' => t('Exposed form blocks'),
'value' => $value,
'desc' => t('Control which blocks can be used for exposed forms.'),
);
}
}