public function getFieldType($field)
    {
        return isset($this->getFieldsConfig()[$field]) ? $this->getFieldsConfig()[$field]['type'] : null;
    }
public function getFieldType($field)
    {
        return isset($this->getFieldsConfig()[$field]) ? $this->getFieldsConfig()[$field]['type'] : null;
    }
public function getFieldType ( $ field ) { return isset ( $ this -> getFieldsConfig ( ) [ $ field ] ) ? $ this -> getFieldsConfig ( ) [ $ field ] [ 'type' ] : null ; }
Fetch a field type according to var metadata.
@param string $field
@return string
Fetch a field type according to var metadata .