Bolt\Storage\Query\SearchConfig::parseContenttypes PHP Method

parseContenttypes() protected method

Iterates over the main config and delegates weighting to both searchable columns and searchable taxonomies.
protected parseContenttypes ( ) : void
return void
    protected function parseContenttypes()
    {
        $contentTypes = $this->config->get('contenttypes');
        foreach ($contentTypes as $type => $values) {
            if (!$this->isInvisible($type)) {
                $this->getSearchableColumns($type);
                if (isset($values['taxonomy'])) {
                    $this->parseTaxonomies($type, $values['taxonomy']);
                }
            }
        }
    }