protected function getConfigs()
    {
        if (!count($this->configs)) {
            // Init the config from database.
            $statement = $this->connection->query('SELECT * FROM tl_metamodel_searchable_pages');

            $this->configs = $statement->fetchAll(\PDO::FETCH_ASSOC);
        }

        return $this->configs;
    }