Provide a list of default behaviors for this argument if the argument is not present.
Override this method to provide additional (or fewer) default behaviors.
Overrides ArgumentPluginBase::defaultActions
protected function defaultActions($which = NULL) {
// Disallow summary views on this argument.
if (!$which) {
$actions = parent::defaultActions();
unset($actions['summary asc']);
unset($actions['summary desc']);
return $actions;
}
if ($which != 'summary asc' && $which != 'summary desc') {
return parent::defaultActions($which);
}
}