src/storage/BaseFileSystemStorage.php
public function getFiltersArray()
    {
        if ($this->_filtersArray === null) {
            $this->_filtersArray = $this->getQueryCacheHelper((new Query())->from('{{%admin_storage_filter}}')->select(['id', 'identifier', 'name'])->indexBy('identifier')->orderBy(['name' => SORT_ASC]), self::CACHE_KEY_FILTER);
        }

        return $this->_filtersArray;
    }
public function getFiltersArray()
    {
        if ($this->_filtersArray === null) {
            $this->_filtersArray = $this->getQueryCacheHelper((new Query())->from('{{%admin_storage_filter}}')->select(['id', 'identifier', 'name'])->indexBy('identifier')->orderBy(['name' => SORT_ASC]), self::CACHE_KEY_FILTER);
        }

        return $this->_filtersArray;
    }
public function getFiltersArray ( ) { if ( $ this -> _filtersArray === null ) { $ this -> _filtersArray = $ this -> getQueryCacheHelper ( ( new Query ( ) ) -> from ( '{{%admin_storage_filter}}' ) -> select ( [ 'id' , 'identifier' , 'name' ] ) -> indexBy ( 'identifier' ) -> orderBy ( [ 'name' => SORT_ASC ] ) , self :: CACHE_KEY_FILTER ) ; } return $ this -> _filtersArray ; }
Get all storage filters as an array from database.

This method is used to retrieve all filters from the database and indexed by filter identifier key.

@return array An array with all storage filters indexed by the filter identifier.
Get all storage filters as an array from database .