Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/plugins/views_plugin_style_mapping.inc | ||
---|---|---|
27 | 27 |
abstract protected function define_mapping(); |
28 | 28 |
|
29 | 29 |
/** |
30 |
* Overrides views_plugin_style::option_definition().
|
|
30 |
* {@inheritdoc}
|
|
31 | 31 |
*/ |
32 |
function option_definition() { |
|
32 |
public function option_definition() {
|
|
33 | 33 |
$options = parent::option_definition(); |
34 | 34 |
|
35 | 35 |
// Parse the mapping and add a default for each. |
... | ... | |
50 | 50 |
} |
51 | 51 |
|
52 | 52 |
/** |
53 |
* Overrides views_plugin_style::options_form().
|
|
53 |
* {@inheritdoc}
|
|
54 | 54 |
*/ |
55 |
function options_form(&$form, &$form_state) { |
|
55 |
public function options_form(&$form, &$form_state) {
|
|
56 | 56 |
parent::options_form($form, $form_state); |
57 | 57 |
|
58 | 58 |
// Get the mapping. |
... | ... | |
110 | 110 |
} |
111 | 111 |
|
112 | 112 |
/** |
113 |
* Overrides views_plugin_style::render(). |
|
114 |
* |
|
115 |
* Provides the mapping definition as an available variable. |
|
113 |
* {@inheritdoc} |
|
116 | 114 |
*/ |
117 |
function render() { |
|
115 |
public function render() { |
|
116 |
// Provides the mapping definition as an available variable. |
|
118 | 117 |
return theme($this->theme_functions(), array( |
119 | 118 |
'view' => $this->view, |
120 | 119 |
'options' => $this->options, |
Formats disponibles : Unified diff
Weekly update of contrib modules