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