class Blacklight::Configuration::Context

This class helps determine whether a specific field/tool should display for a particular controller. This is used when the field/tool is configured with an if or unless argument.

e.g.

config.add_results_document_tool(:bookmark,
                                 partial: 'bookmark_control',
                                 if: :render_bookmarks_control?)

The context points at the scope for where to evaluate the method render_bookmarks_control?