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