1 views_handler_argument_term_node_tid_depth.inc views_handler_argument_term_node_tid_depth::default_actions($which = NULL)

Override default_actions() to remove summary actions.

Overrides views_handler_argument::default_actions

File

core/modules/taxonomy/views/views_handler_argument_term_node_tid_depth.inc, line 75
Definition of views_handler_argument_term_node_tid_depth.

Class

views_handler_argument_term_node_tid_depth
Argument handler for taxonomy terms with depth.

Code

function default_actions($which = NULL) {
  if ($which) {
    if (in_array($which, array('ignore', 'not found', 'empty', 'default'))) {
      return parent::default_actions($which);
    }
    return;
  }
  $actions = parent::default_actions();
  unset($actions['summary asc']);
  unset($actions['summary desc']);
  unset($actions['summary asc by count']);
  unset($actions['summary desc by count']);
  return $actions;
}