Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/plugins/views_plugin_style_summary_unformatted.inc | ||
---|---|---|
2 | 2 |
|
3 | 3 |
/** |
4 | 4 |
* @file |
5 |
* Contains the unformatted summary style plugin.
|
|
5 |
* Definition of views_plugin_style_summary_unformatted.
|
|
6 | 6 |
*/ |
7 | 7 |
|
8 | 8 |
/** |
... | ... | |
11 | 11 |
* @ingroup views_style_plugins |
12 | 12 |
*/ |
13 | 13 |
class views_plugin_style_summary_unformatted extends views_plugin_style_summary { |
14 |
function option_definition() { |
|
14 |
|
|
15 |
/** |
|
16 |
* {@inheritdoc} |
|
17 |
*/ |
|
18 |
public function option_definition() { |
|
15 | 19 |
$options = parent::option_definition(); |
16 | 20 |
$options['inline'] = array('default' => FALSE, 'bool' => TRUE); |
17 | 21 |
$options['separator'] = array('default' => ''); |
18 | 22 |
return $options; |
19 | 23 |
} |
20 | 24 |
|
21 |
function options_form(&$form, &$form_state) { |
|
25 |
/** |
|
26 |
* {@inheritdoc} |
|
27 |
*/ |
|
28 |
public function options_form(&$form, &$form_state) { |
|
22 | 29 |
parent::options_form($form, $form_state); |
23 | 30 |
$form['inline'] = array( |
24 | 31 |
'#type' => 'checkbox', |
... | ... | |
31 | 38 |
'#default_value' => $this->options['separator'], |
32 | 39 |
); |
33 | 40 |
} |
41 |
|
|
34 | 42 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules