Sha256: 4182a7e5fb74ce9b18365943e534236fe5e00621fea377cb19b12ffead33807f

Contents?: true

Size: 1.37 KB

Versions: 55

Compression:

Stored size: 1.37 KB

Contents

# frozen_string_literal: true
module Blacklight
  class Configuration::DisplayField < Blacklight::Configuration::Field
    ##
    # 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 link_to_search
    #   @deprecated use link_to_facet instead.
    #   @return [Boolean]
    # @!attribute itemprop
    #   @return [String]
    # @!attribute separator_options
    #   @return [Hash]

    # @param [Blacklight::Configuration] _blacklight_config
    def normalize! _blacklight_config = nil
      super
      self.presenter ||= Blacklight::FieldPresenter
    end
  end
end

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
blacklight-7.40.0 lib/blacklight/configuration/display_field.rb
blacklight-7.39.0 lib/blacklight/configuration/display_field.rb
blacklight-7.38.0 lib/blacklight/configuration/display_field.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/lib/blacklight/configuration/display_field.rb
blacklight-7.37.0 lib/blacklight/configuration/display_field.rb
blacklight-7.36.2 lib/blacklight/configuration/display_field.rb
blacklight-7.36.1 lib/blacklight/configuration/display_field.rb
blacklight-7.36.0 lib/blacklight/configuration/display_field.rb
blacklight-7.35.0 lib/blacklight/configuration/display_field.rb
blacklight-7.34.0 lib/blacklight/configuration/display_field.rb
blacklight-7.33.1 lib/blacklight/configuration/display_field.rb
blacklight-7.33.0 lib/blacklight/configuration/display_field.rb
blacklight-7.32.0 lib/blacklight/configuration/display_field.rb
blacklight-7.31.0 lib/blacklight/configuration/display_field.rb
blacklight-7.30.0 lib/blacklight/configuration/display_field.rb
blacklight-7.29.0 lib/blacklight/configuration/display_field.rb
blacklight-7.28.0 lib/blacklight/configuration/display_field.rb
blacklight-7.27.1 lib/blacklight/configuration/display_field.rb
blacklight-7.27.0 lib/blacklight/configuration/display_field.rb
blacklight-7.26.1 lib/blacklight/configuration/display_field.rb