You are here

public function TestProcessor::getConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php \Drupal\aggregator_test\Plugin\aggregator\processor\TestProcessor::getConfiguration()

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

1 call to TestProcessor::getConfiguration()
TestProcessor::__construct in core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php
Constructs a TestProcessor object.

File

core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php, line 133

Class

TestProcessor
Defines a default processor implementation.

Namespace

Drupal\aggregator_test\Plugin\aggregator\processor

Code

public function getConfiguration() {
  return $this->configFactory
    ->get('aggregator_test.settings')
    ->get();
}