5 * Definition of views_handler_filter_system_type.
9 * Filter by system type.
11 class views_handler_filter_system_type extends views_handler_filter_in_operator {
12 function get_value_options() {
13 if (!isset($this->value_options)) {
14 $this->value_title = t('Type');
15 // Enable filtering by type.
17 $types = db_query('SELECT DISTINCT(type) FROM {system} ORDER BY type')->fetchAllKeyed(0, 0);
18 $this->value_options = $types;