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

10 calls to ProcessorPluginBase::getConfiguration()
BooleanItemProcessor::build in src/Plugin/facets/processor/BooleanItemProcessor.php
Runs before the renderable array is created.
BooleanItemProcessor::buildConfigurationForm in src/Plugin/facets/processor/BooleanItemProcessor.php
Adds a configuration form for this processor.
CountLimitProcessor::build in src/Plugin/facets/processor/CountLimitProcessor.php
Runs before the renderable array is created.
CountLimitProcessor::buildConfigurationForm in src/Plugin/facets/processor/CountLimitProcessor.php
Adds a configuration form for this processor.
DateItemProcessor::buildConfigurationForm in src/Plugin/facets/processor/DateItemProcessor.php
Adds a configuration form for this processor.

... See full list

File

src/Processor/ProcessorPluginBase.php, line 90

Class

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

Namespace

Drupal\facets\Processor

Code

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