Sha256: 43c473f23e1d58ef2d6274becce1a67f0f7fd6a6bcb7747e4aa122b6ad9e690b
Contents?: true
Size: 535 Bytes
Versions: 21
Compression:
Stored size: 535 Bytes
Contents
# frozen_string_literal: true module Blacklight module Search class SidebarComponent < Blacklight::Component def initialize(blacklight_config:, response:, view_config:) @blacklight_config = blacklight_config @response = response @group_component_class = view_config.facet_group_component || Blacklight::Response::FacetGroupComponent end attr_reader :group_component_class, :response delegate :facet_group_names, :facet_fields_in_group, to: :@blacklight_config end end end
Version data entries
21 entries across 21 versions & 2 rubygems