Sha256: 4122044eebde14b5ac4d3d1ac88a86bee0529aac606558af7f887b585e5aa8e8

Contents?: true

Size: 1.27 KB

Versions: 21

Compression:

Stored size: 1.27 KB

Contents

# frozen_string_literal: true

module Blacklight
  class Configuration::DisplayField < Blacklight::Configuration::Field
    def initialize(*args, **kwargs, &block)
      super

      self.presenter ||= Blacklight::FieldPresenter
      self.component ||= Blacklight::MetadataFieldComponent
    end
    ##
    # The following is a non-exhaustive list of display field config parameters that are used
    # by Blacklight directly. Application-specific code or plugins may add or replace
    # the parameters and behaviors specified below.
    #

    ##
    # Data parameters:
    # @!attribute values
    #  @return [Proc]
    # @!attribute accessor
    #  @return [Boolean,Symbol]
    # @!attribute highlight
    #  @return [Boolean]
    # @!attribute default
    #  @return [Object]
    # @!attribute solr_params
    #  @return [Hash]
    # @!attribute include_in_request
    #  @return [Boolean]

    ##
    # Rendering:
    # @!attribute presenter
    #   @return [Blacklight::FieldPresenter]
    # @!attribute component
    #   @return [Blacklight::MetadataFieldComponent]

    ##
    # Default rendering pipeline:
    # @!attribute link_to_facet
    #   @return [Boolean]
    # @!attribute itemprop
    #   @return [String]
    # @!attribute separator_options
    #   @return [Hash]
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
blacklight-8.6.1 lib/blacklight/configuration/display_field.rb
blacklight-8.6.0 lib/blacklight/configuration/display_field.rb
blacklight-8.5.1 lib/blacklight/configuration/display_field.rb
blacklight-8.5.0 lib/blacklight/configuration/display_field.rb
blacklight-8.4.0 lib/blacklight/configuration/display_field.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/lib/blacklight/configuration/display_field.rb
blacklight-8.3.0 lib/blacklight/configuration/display_field.rb
blacklight-8.2.2 lib/blacklight/configuration/display_field.rb
blacklight-8.2.1 lib/blacklight/configuration/display_field.rb
blacklight-8.2.0 lib/blacklight/configuration/display_field.rb
blacklight-8.1.0 lib/blacklight/configuration/display_field.rb
blacklight-8.0.1 lib/blacklight/configuration/display_field.rb
blacklight-8.0.0 lib/blacklight/configuration/display_field.rb
blacklight-8.0.0.beta8 lib/blacklight/configuration/display_field.rb
blacklight-8.0.0.beta7 lib/blacklight/configuration/display_field.rb
blacklight-8.0.0.beta6 lib/blacklight/configuration/display_field.rb
blacklight-8.0.0.beta5 lib/blacklight/configuration/display_field.rb
blacklight-8.0.0.beta4 lib/blacklight/configuration/display_field.rb
blacklight-8.0.0.beta3 lib/blacklight/configuration/display_field.rb
blacklight-8.0.0.beta2 lib/blacklight/configuration/display_field.rb