original_string: public function getDefaultValues()
      {
          $result = [];
  
          foreach ($this->getFormFields() as $attribute => $field) {
              if (($value = array_get($field, 'default')) === null) {
                  continue;
              }
  
              $result[$attribute] = $value;
          }
  
          return $result;
      }
code: public function getDefaultValues()
      {
          $result = [];
  
          foreach ($this->getFormFields() as $attribute => $field) {
              if (($value = array_get($field, 'default')) === null) {
                  continue;
              }
  
              $result[$attribute] = $value;
          }
  
          return $result;
      }
code_tokens: public function getDefaultValues ( ) { $ result = [ ] ; foreach ( $ this -> getFormFields ( ) as $ attribute => $ field ) { if ( ( $ value = array_get ( $ field , 'default' ) ) === null ) { continue ; } $ result [ $ attribute ] = $ value ; } return $ result ; }
docstring: Gets default values for this model based on form field definitions.
  @return array
docstring_tokens: Gets default values for this model based on form field definitions .