Override defaultActions() to remove actions that don't make sense for a null argument.
Overrides ArgumentPluginBase::defaultActions
protected function defaultActions($which = NULL) {
if ($which) {
if (in_array($which, array(
'ignore',
'not found',
'empty',
'default',
))) {
return parent::defaultActions($which);
}
return;
}
$actions = parent::defaultActions();
unset($actions['summary asc']);
unset($actions['summary desc']);
return $actions;
}