function scald_views_handler_filter_atom_type::get_value_options in Scald: Media Management made easy 6
Same name and namespace in other branches
- 7 includes/scald_views_handler_filter_atom_type.inc \scald_views_handler_filter_atom_type::get_value_options()
File
- includes/
scald_views_handler_filter_atom_type.inc, line 6
Class
- scald_views_handler_filter_atom_type
- Filter by node type
Code
function get_value_options() {
if (!isset($this->value_options)) {
$this->value_title = t('Atom type');
//$types = node_get_types();
$types = _scald_types();
foreach ($types as $type => $info) {
$options[$type] = t($info['title']);
}
$this->value_options = $options;
}
}