public function QueryTypePluginBase::setConfiguration in Facets 8
Sets the configuration for this plugin instance.
Parameters
array $configuration: An associative array containing the plugin's configuration.
Overrides ConfigurableInterface::setConfiguration
1 call to QueryTypePluginBase::setConfiguration()
- SearchApiDate::__construct in src/
Plugin/ facets/ query_type/ SearchApiDate.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- src/
QueryType/ QueryTypePluginBase.php, line 72
Class
- QueryTypePluginBase
- A base class for query type plugins that implements most of the boilerplate.
Namespace
Drupal\facets\QueryTypeCode
public function setConfiguration(array $configuration) {
$this->configuration = $configuration + $this
->defaultConfiguration();
}