Now all modules are in core modules folder
This commit is contained in:
parent
5ba1cdfa0b
commit
05b6a91b0c
1907 changed files with 0 additions and 0 deletions
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Contains the unformatted summary style plugin.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The default style plugin for summaries.
|
||||
*
|
||||
* @ingroup views_style_plugins
|
||||
*/
|
||||
class views_plugin_style_summary_unformatted extends views_plugin_style_summary {
|
||||
function option_definition() {
|
||||
$options = parent::option_definition();
|
||||
$options['inline'] = array('default' => FALSE);
|
||||
$options['separator'] = array('default' => '');
|
||||
return $options;
|
||||
}
|
||||
|
||||
function options_form(&$form, &$form_state) {
|
||||
parent::options_form($form, $form_state);
|
||||
$form['inline'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#default_value' => !empty($this->options['inline']),
|
||||
'#title' => t('Display items inline'),
|
||||
);
|
||||
$form['separator'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Separator'),
|
||||
'#default_value' => $this->options['separator'],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in a new issue