function IndexTidDepth::default_actions in Views (for Drupal 7) 8.3
Override default_actions() to remove summary actions.
Overrides ArgumentPluginBase::default_actions
File
- lib/
Views/ taxonomy/ Plugin/ views/ argument/ IndexTidDepth.php, line 86 - Definition of Views\taxonomy\Plugin\views\argument\IndexTidDepth.
Class
- IndexTidDepth
- Argument handler for taxonomy terms with depth.
Namespace
Views\taxonomy\Plugin\views\argumentCode
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;
}