You are here

public function ProcessorPluginBase::getConfiguration in Facets 8

Same name in this branch
  1. 8 src/Processor/ProcessorPluginBase.php \Drupal\facets\Processor\ProcessorPluginBase::getConfiguration()
  2. 8 modules/facets_summary/src/Processor/ProcessorPluginBase.php \Drupal\facets_summary\Processor\ProcessorPluginBase::getConfiguration()

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

3 calls to ProcessorPluginBase::getConfiguration()
ResetFacetsProcessor::buildConfigurationForm in modules/facets_summary/src/Plugin/facets_summary/processor/ResetFacetsProcessor.php
Adds a configuration form for this processor.
ShowTextWhenEmptyProcessor::build in modules/facets_summary/src/Plugin/facets_summary/processor/ShowTextWhenEmptyProcessor.php
Alter the items in the summary before creating the renderable array.
ShowTextWhenEmptyProcessor::buildConfigurationForm in modules/facets_summary/src/Plugin/facets_summary/processor/ShowTextWhenEmptyProcessor.php
Adds a configuration form for this processor.

File

modules/facets_summary/src/Processor/ProcessorPluginBase.php, line 82

Class

ProcessorPluginBase
A base class for plugins that implements most of the boilerplate.

Namespace

Drupal\facets_summary\Processor

Code

public function getConfiguration() {
  unset($this->configuration['facets_summary']);
  return $this->configuration + $this
    ->defaultConfiguration();
}