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;
    }