original_string: protected function apply_defaults() {
          parent::apply_defaults();
  
          // We want to set the solr_filegroupingid to id if it isn't set.
          if (!isset($this->data['solr_filegroupingid'])) {
              $this->data['solr_filegroupingid'] = $this->data['id'];
          }
      }
code: protected function apply_defaults() {
          parent::apply_defaults();
  
          // We want to set the solr_filegroupingid to id if it isn't set.
          if (!isset($this->data['solr_filegroupingid'])) {
              $this->data['solr_filegroupingid'] = $this->data['id'];
          }
      }
code_tokens: protected function apply_defaults ( ) { parent :: apply_defaults ( ) ; // We want to set the solr_filegroupingid to id if it isn't set. if ( ! isset ( $ this -> data [ 'solr_filegroupingid' ] ) ) { $ this -> data [ 'solr_filegroupingid' ] = $ this -> data [ 'id' ] ; } }
docstring: Apply any defaults to unset fields before export. Called after document building, but before export.
  
  Sub-classes of this should make sure to call parent::apply_defaults().
docstring_tokens: Apply any defaults to unset fields before export . Called after document building but before export .