src/CoreBundle/EventListener/DcGeneral/Table/RenderSettings/JumpToListener.php
private function getFilterSettings(ModelInterface $model)
    {
        $filters = $this->connection
            ->createQueryBuilder()
            ->select('id', 'name')
            ->from('tl_metamodel_filter')
            ->where('pid=:id')
            ->setParameter('id', $model->getProperty('pid'))
            ->execute()
            ->fetchAll(\PDO::FETCH_ASSOC);

        $result = [];
        foreach ($filters as $filter) {
            $result[$filter['id']] = $filter['name'];
        }

        return $result;
    }
private function getFilterSettings(ModelInterface $model)
    {
        $filters = $this->connection
            ->createQueryBuilder()
            ->select('id', 'name')
            ->from('tl_metamodel_filter')
            ->where('pid=:id')
            ->setParameter('id', $model->getProperty('pid'))
            ->execute()
            ->fetchAll(\PDO::FETCH_ASSOC);

        $result = [];
        foreach ($filters as $filter) {
            $result[$filter['id']] = $filter['name'];
        }

        return $result;
    }
Retrieve the model filters for the MCW.

@param ModelInterface $model The model containing the currently edited render setting.

@return array