Class: Blacklight::Configuration::DisplayField

Inherits:
Field show all
Defined in:
lib/blacklight/configuration/display_field.rb

Direct Known Subclasses

IndexField, NullDisplayField, ShowField

Instance Attribute Summary collapse

Attributes inherited from Field

#field, #if, #key, #label, #unless

Instance Method Summary collapse

Methods inherited from Field

#default_label, #display_label, #normalize!, #validate!

Methods inherited from OpenStructWithHashAccess

#deep_dup, #deep_transform_values, #merge, #merge!, #reverse_merge, #select, #sort_by, #sort_by!, #to_h, #try

Constructor Details

#initialize(*args, **kwargs, &block) ⇒ DisplayField

Returns a new instance of DisplayField.



5
6
7
8
9
10
# File 'lib/blacklight/configuration/display_field.rb', line 5

def initialize(*args, **kwargs, &block)
  super

  self.presenter ||= Blacklight::FieldPresenter
  self.component ||= Blacklight::MetadataFieldComponent
end

Instance Attribute Details

#accessorBoolean, Symbol

Returns:

  • (Boolean, Symbol)


# File 'lib/blacklight/configuration/display_field.rb', line 17

#componentBlacklight::MetadataFieldComponent



# File 'lib/blacklight/configuration/display_field.rb', line 32

#defaultObject

Returns:

  • (Object)


# File 'lib/blacklight/configuration/display_field.rb', line 17

#highlightBoolean

Returns:

  • (Boolean)


# File 'lib/blacklight/configuration/display_field.rb', line 17

#include_in_requestBoolean

Returns:

  • (Boolean)


# File 'lib/blacklight/configuration/display_field.rb', line 17

#itempropString

Returns:

  • (String)


# File 'lib/blacklight/configuration/display_field.rb', line 39

Returns:

  • (Boolean)


# File 'lib/blacklight/configuration/display_field.rb', line 39

#presenterBlacklight::FieldPresenter



# File 'lib/blacklight/configuration/display_field.rb', line 32

#separator_optionsHash

Returns:

  • (Hash)


# File 'lib/blacklight/configuration/display_field.rb', line 39

#solr_paramsHash

Returns:

  • (Hash)


# File 'lib/blacklight/configuration/display_field.rb', line 17

#valuesProc

Returns:

  • (Proc)


# File 'lib/blacklight/configuration/display_field.rb', line 17