Sha256: 6dc3ecc83035b42b34e1adc68957cb6b2a074eeefc0acd2e287b006df4a39416
Contents?: true
Size: 425 Bytes
Versions: 53
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true module Blacklight class ShowPresenter < DocumentPresenter private # @return [Hash<String,Configuration::Field>] def fields configuration.show_fields_for(display_type) end def field_config(field) configuration.show_fields.fetch(field) { Configuration::NullField.new(field) } end def field_presenter_options { context: 'show' } end end end
Version data entries
53 entries across 53 versions & 2 rubygems