public function getConfig($contentType)
    {
        if (array_key_exists($contentType, $this->searchableTypes)) {
            return $this->searchableTypes[$contentType];
        }

        if ($this->canSearchInvisible() && array_key_exists($contentType, $this->invisibleTypes)) {
            return $this->invisibleTypes[$contentType];
        }

        return false;
    }
public function getConfig($contentType)
    {
        if (array_key_exists($contentType, $this->searchableTypes)) {
            return $this->searchableTypes[$contentType];
        }

        if ($this->canSearchInvisible() && array_key_exists($contentType, $this->invisibleTypes)) {
            return $this->invisibleTypes[$contentType];
        }

        return false;
    }
public function getConfig ( $ contentType ) { if ( array_key_exists ( $ contentType , $ this -> searchableTypes ) ) { return $ this -> searchableTypes [ $ contentType ] ; } if ( $ this -> canSearchInvisible ( ) && array_key_exists ( $ contentType , $ this -> invisibleTypes ) ) { return $ this -> invisibleTypes [ $ contentType ] ; } return false ; }
Get the config of all fields for a given content type.

@param string $contentType

@return array|false
Get the config of all fields for a given content type .