You are here

public function PluginBase::getConfiguration in Feeds 8.3

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

5 calls to PluginBase::getConfiguration()
CsvParser::configSourceDescription in src/Feeds/Parser/CsvParser.php
Returns the description for single source.
EntityProcessorBase::calculateDependencies in src/Feeds/Processor/EntityProcessorBase.php
Calculates dependencies for the configured plugin.
EntityProcessorBase::clean in src/Feeds/Processor/EntityProcessorBase.php
Applies an action to an entity to 'clean' it.
EntityProcessorBase::initCleanList in src/Feeds/Processor/EntityProcessorBase.php
Initializes the list of entities to clean.
EntityReference::buildConfigurationForm in src/Feeds/Target/EntityReference.php
Form constructor.

File

src/Plugin/Type/PluginBase.php, line 72

Class

PluginBase
The base class for the fetcher, parser, and processor plugins.

Namespace

Drupal\feeds\Plugin\Type

Code

public function getConfiguration($key = NULL) {
  if ($key === NULL) {
    return $this->configuration;
  }
  if (isset($this->configuration[$key])) {
    return $this->configuration[$key];
  }
}