class AggregatorPluginSettingsBase

Same name in other branches
  1. 9 core/modules/aggregator/src/Plugin/AggregatorPluginSettingsBase.php \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase

Base class for aggregator plugins that implement settings forms.

Hierarchy

Expanded class hierarchy of AggregatorPluginSettingsBase

See also

\Drupal\aggregator\Annotation\AggregatorParser

\Drupal\aggregator\Annotation\AggregatorFetcher

\Drupal\aggregator\Annotation\AggregatorProcessor

\Drupal\aggregator\Plugin\AggregatorPluginManager

\Drupal\aggregator\Plugin\FetcherInterface

\Drupal\aggregator\Plugin\ProcessorInterface

\Drupal\aggregator\Plugin\ParserInterface

Plugin API

2 files declare their use of AggregatorPluginSettingsBase
DefaultProcessor.php in core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
TestProcessor.php in core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php

File

core/modules/aggregator/src/Plugin/AggregatorPluginSettingsBase.php, line 24

Namespace

Drupal\aggregator\Plugin
View source
abstract class AggregatorPluginSettingsBase extends PluginBase implements PluginFormInterface, ConfigurableInterface, DependentPluginInterface, ConfigurablePluginInterface {
    
    /**
     * {@inheritdoc}
     */
    public function defaultConfiguration() {
        return [];
    }
    
    /**
     * {@inheritdoc}
     */
    public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
    }
    
    /**
     * {@inheritdoc}
     */
    public function calculateDependencies() {
        return [];
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
AggregatorPluginSettingsBase::calculateDependencies public function Calculates dependencies for the configured plugin. Overrides DependentPluginInterface::calculateDependencies
AggregatorPluginSettingsBase::defaultConfiguration public function Gets default configuration for this plugin. Overrides ConfigurableInterface::defaultConfiguration
AggregatorPluginSettingsBase::validateConfigurationForm public function Form validation handler. Overrides PluginFormInterface::validateConfigurationForm
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 14
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 14
PluginFormInterface::buildConfigurationForm public function Form constructor. 32
PluginFormInterface::submitConfigurationForm public function Form submission handler. 31

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.