protected function makeFiltersForAllAttributes()
    {
        $filters = [];

        foreach ($this->info->attributes as $attribute) {

            if ($attribute->hidden || ! $this->shouldAttributeBeFilterable($attribute)) {
                continue;
            }

            $filterData = $this->makeModelListFilterDataForAttributeData($attribute, $this->info);

            if ( ! $filterData) continue;

            $filters[$attribute->name] = $filterData;
        }

        return $filters;
    }
protected function makeFiltersForAllAttributes()
    {
        $filters = [];

        foreach ($this->info->attributes as $attribute) {

            if ($attribute->hidden || ! $this->shouldAttributeBeFilterable($attribute)) {
                continue;
            }

            $filterData = $this->makeModelListFilterDataForAttributeData($attribute, $this->info);

            if ( ! $filterData) continue;

            $filters[$attribute->name] = $filterData;
        }

        return $filters;
    }
protected function makeFiltersForAllAttributes ( ) { $ filters = [ ] ; foreach ( $ this -> info -> attributes as $ attribute ) { if ( $ attribute -> hidden || ! $ this -> shouldAttributeBeFilterable ( $ attribute ) ) { continue ; } $ filterData = $ this -> makeModelListFilterDataForAttributeData ( $ attribute , $ this -> info ) ; if ( ! $ filterData ) continue ; $ filters [ $ attribute -> name ] = $ filterData ; } return $ filters ; }
Makes separate filter data sets for all attributes.

@return ModelListFilterData[]
Makes separate filter data sets for all attributes .