Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/modules/node/views_handler_filter_node_type.inc | ||
---|---|---|
11 | 11 |
* @ingroup views_filter_handlers |
12 | 12 |
*/ |
13 | 13 |
class views_handler_filter_node_type extends views_handler_filter_in_operator { |
14 |
function get_value_options() { |
|
14 |
|
|
15 |
/** |
|
16 |
* {@inheritdoc} |
|
17 |
*/ |
|
18 |
public function get_value_options() { |
|
15 | 19 |
if (!isset($this->value_options)) { |
16 | 20 |
$this->value_title = t('Content types'); |
17 | 21 |
$types = node_type_get_types(); |
... | ... | |
23 | 27 |
$this->value_options = $options; |
24 | 28 |
} |
25 | 29 |
} |
30 |
|
|
26 | 31 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules