Module: Blacklight::SuggestHelperBehavior

Included in:
CatalogHelperBehavior
Defined in:
app/helpers/blacklight/suggest_helper_behavior.rb

Instance Method Summary collapse

Instance Method Details

#autocomplete_enabled?Boolean

Deprecated.

Returns should autocomplete be enabled in the UI.

Returns:

  • (Boolean)

    should autocomplete be enabled in the UI



7
8
9
10
# File 'app/helpers/blacklight/suggest_helper_behavior.rb', line 7

def autocomplete_enabled?
  blacklight_config.autocomplete_enabled.present? &&
    blacklight_config.autocomplete_path.present?
end