class activity_views_handler_filter_type in Activity 6
Hierarchy
- class \activity_views_handler_filter_type extends \views_handler_filter_in_operator
Expanded class hierarchy of activity_views_handler_filter_type
1 string reference to 'activity_views_handler_filter_type'
- activity_views_data in ./
activity.views.inc - Implementation of hook_views_data().
File
- views/
activity_views_handler_filter_type.inc, line 3
View source
class activity_views_handler_filter_type extends views_handler_filter_in_operator {
function get_value_options() {
$activity_info = activity_get_info();
$types = array();
foreach ($activity_info as $module => $info) {
if ($info['types']) {
foreach ($info['types'] as $type => $name) {
$types[$type] = $name;
}
}
}
if ($types) {
$this->value_options = $types;
}
}
}