src/BackendIntegration/SearchablePages.php
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;
    }
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;
    }
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 ; }
Get all configs.

@return array

@throws \Doctrine\DBAL\DBALException When a database error occur.
Get all configs .