src/Admin/AbstractAdmin.php
final public function isDefaultFilter($name)
    {
        $filter = $this->getFilterParameters();
        $default = $this->getDefaultFilterValues();

        if (!\array_key_exists($name, $filter) || !\array_key_exists($name, $default)) {
            return false;
        }

        return $filter[$name] === $default[$name];
    }
final public function isDefaultFilter($name)
    {
        $filter = $this->getFilterParameters();
        $default = $this->getDefaultFilterValues();

        if (!\array_key_exists($name, $filter) || !\array_key_exists($name, $default)) {
            return false;
        }

        return $filter[$name] === $default[$name];
    }
final public function isDefaultFilter ( $ name ) { $ filter = $ this -> getFilterParameters ( ) ; $ default = $ this -> getDefaultFilterValues ( ) ; if ( ! \ array_key_exists ( $ name , $ filter ) || ! \ array_key_exists ( $ name , $ default ) ) { return false ; } return $ filter [ $ name ] === $ default [ $ name ] ; }
Checks if a filter type is set to a default value.

@param string $name

@return bool
Checks if a filter type is set to a default value .