Sha256: 0d006364f1e81b4e63e55250818181f4263812f2d83646fa2899d2ae9f127ca4

Contents?: true

Size: 478 Bytes

Versions: 14

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true
module Hyrax
  module InAdminSet
    extend ActiveSupport::Concern

    included do
      belongs_to :admin_set, predicate: Hyrax.config.admin_set_predicate
    end

    ##
    # @deprecated Use `Sipity::Workflow.find_active_workflow_for` instead.
    def active_workflow
      Deprecation.warn 'Use `Sipity::Workflow.find_active_workflow_for` instead.'
      Sipity::Workflow.find_active_workflow_for(admin_set_id: admin_set_id)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.5.0 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.4.2 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.4.1 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.4.0 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.3.0 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.2.0 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.1.0 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.0.2 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.0.1 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.0.0 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.0.0.pre.rc4 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.0.0.pre.rc3 app/models/concerns/hyrax/in_admin_set.rb
hyrax-3.0.0.pre.rc2 app/models/concerns/hyrax/in_admin_set.rb