public function getFieldConfig($contentType, $field)
    {
        if (isset($this->searchableTypes[$contentType][$field])) {
            return $this->searchableTypes[$contentType][$field];
        }

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

        return false;
    }
public function getFieldConfig($contentType, $field)
    {
        if (isset($this->searchableTypes[$contentType][$field])) {
            return $this->searchableTypes[$contentType][$field];
        }

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

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

@param string $contentType
@param string $field

@return array|false
Get the config of one given field for a given content type .