app/models/bulkrax/entry.rb
# Returns field_mapping hash based on whether or not generated metadata should be included
Returns field_mapping hash based on whether or not generated metadata should be included
Returns field_mapping hash based on whether or not generated metadata should be included
def fetch_field_mapping
      return self.mapping if importerexporter.generated_metadata
      self.mapping.each do |key, value|
        self.mapping.delete(key) if value[generated_metadata_mapping]
      end
    end
def fetch_field_mapping return self . mapping if importerexporter . generated_metadata self . mapping . each do | key , value | self . mapping . delete ( key ) if value [ generated_metadata_mapping ] end end
Returns field_mapping hash based on whether or not generated metadata should be included
Returns field_mapping hash based on whether or not generated metadata should be included