# frozen_string_literal: true module Blacklight class ShowPresenter < DocumentPresenter private # @return [Hash] 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