Sha256: b693340adf1f81212ca89c10010bddf6cf4bc3cc61da28caa44ca049e93d7575

Contents?: true

Size: 423 Bytes

Versions: 55

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true
module Blacklight
  module SuggestHelperBehavior
    ##
    # @deprecated
    # @return [Boolean] should autocomplete be enabled in the UI
    def autocomplete_enabled?
      blacklight_config.autocomplete_enabled.present? &&
        blacklight_config.autocomplete_path.present?
    end
    deprecation_deprecate autocomplete_enabled?: "use SearchBarPresenter#autocomplete_enabled?"
  end
end

Version data entries

55 entries across 55 versions & 2 rubygems

Version Path
blacklight-7.40.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.39.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.38.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.37.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.36.2 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.36.1 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.36.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.35.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.34.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.33.1 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.33.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.32.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.31.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.30.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.29.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.28.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.27.1 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.27.0 app/helpers/blacklight/suggest_helper_behavior.rb
blacklight-7.26.1 app/helpers/blacklight/suggest_helper_behavior.rb