Sha256: 0e6a3c2846498cf43142be7c24fd761249aa94de63cf2b0fe32152cce977f018
Contents?: true
Size: 548 Bytes
Versions: 12
Compression:
Stored size: 548 Bytes
Contents
# frozen_string_literal: true module Arclight # Custom presentation methods for show partial class ShowPresenter < Blacklight::ShowPresenter def heading document.normalized_title end def with_field_group(group) self.field_group = group self end private def field_group @field_group || 'show_field' end attr_writer :field_group def field_config(field) BlacklightFieldConfigurationFactory.for(config: configuration, field: field, field_group: field_group) end end end
Version data entries
12 entries across 12 versions & 1 rubygems