We need to store facet-source specific configuration e.g. the url processor configuration.
Why we need this
By default, the facets should use
f=article&f=admin when 2 facets are present on a page (bundle / author).
When more than one facet source is used on a page, (e.g. block views) we should be able to configure a different parameter for facets.
An example of such a url could be
f=article&f=admin&facet=blog_item. We need to configure the key for these in a setting that is linked to a facetSource; that's where it belongs.
We'd like to avoid creating an entity just for that though, that would lead into a whole other world of problems (since all facetSources come from derivers we'd need to hook in to other modules's save events, ...).
We would like to create a default configuration that is overridable per facet source.
We can use this to store global facet source settings, the config will only exist for facet sources which do not use the default configuration.
Introduce a new configuration for the facetSource Make sure that we're using the configuration in a facet Change the UI to add the ability to change this the settings. (add an edit button per facet source)
User interface changes
We should have an edit button for a facet source.