Sha256: e06ab6b0c2cba2707b345879f8351cb940e4795bcf468063bcbeea8dc058b2a5

Contents?: true

Size: 1.48 KB

Versions: 6

Compression:

Stored size: 1.48 KB

Contents

# frozen_string_literal: true

# Generated via
#  `rails generate hyrax:collection_resource CollectionResource`
class CollectionResource < Hyrax::PcdmCollection
  # @note Do not directly update `basic_metadata.yaml`.  It is also used by works.
  #
  # To change metadata for collections
  # * extend by adding fields to `/config/metadata/collection_resource.yaml`
  # * remove all basic metadata
  #   * if you generated `with_basic_metadata` and now don't want any basic metadata,
  #       comment out or delete the schema include statement for `:basic_metadata`
  #   * update form and indexer classes to also remove the `:basic_metadata` schema include
  # * remove some basic metadata
  #   * comment out or delete the schema include statement for `:basic_metadata`
  #   * update form and indexer classes to also remove the `:basic_metadata` schema include
  #   * copy fields you want to keep from `/config/metadata/basic_metadata.yaml`
  #       to `/config/metadata/collection_resource.yaml`
  # * override basic metadata
  #   * copy fields you want to override from `/config/metadata/basic_metadata.yaml`
  #       to `/config/metadata/collection_resource.yaml`
  #   * update them in `config/metadata/collection_resource.yaml to have the desired
  #       characteristics
  #
  # Alternative:
  # * comment out or delete schema include statements
  # * add Valkyrie attributes to this class
  # * update form and indexer to process the attributes
  #
  include Hyrax::Schema(:collection_resource)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-5.0.0.rc2 .koppie/app/models/collection_resource.rb
hyrax-4.0.0 .koppie/app/models/collection_resource.rb
hyrax-4.0.0.rc3 .koppie/app/models/collection_resource.rb
hyrax-4.0.0.rc2 .koppie/app/models/collection_resource.rb
hyrax-4.0.0.rc1 .koppie/app/models/collection_resource.rb
hyrax-4.0.0.beta2 .koppie/app/models/collection_resource.rb