public function getFieldDefinition($field)
    {
        if (isset($this->definition[$field])) {
            return $this->definition[$field];
        }
        if (isset($this->definition['fields'][$field])) {
            return $this->definition['fields'][$field];
        }
        return null;
    }
public function getFieldDefinition($field)
    {
        if (isset($this->definition[$field])) {
            return $this->definition[$field];
        }
        if (isset($this->definition['fields'][$field])) {
            return $this->definition['fields'][$field];
        }
        return null;
    }
public function getFieldDefinition ( $ field ) { if ( isset ( $ this -> definition [ $ field ] ) ) { return $ this -> definition [ $ field ] ; } if ( isset ( $ this -> definition [ 'fields' ] [ $ field ] ) ) { return $ this -> definition [ 'fields' ] [ $ field ] ; } return null ; }
Obtiene la definicion para este campo

@param $field
@return mixed|null
Obtiene la definicion para este campo