abstract class AggregatorPluginSettingsBase

You are here

Base class for aggregator plugins that implement settings forms.

Namespace

Drupal\aggregator\Plugin

Hierarchy

Expanded class hierarchy of AggregatorPluginSettingsBase

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
AggregatorPluginSettingsBase::defaultConfiguration public function Returns default configuration for this plugin. Overrides ConfigurablePluginInterface::defaultConfiguration
AggregatorPluginSettingsBase::validateConfigurationForm public function Form validation handler. Overrides PluginFormInterface::validateConfigurationForm
ConfigurablePluginInterface::getConfiguration public function Returns this plugin's configuration.
ConfigurablePluginInterface::setConfiguration public function Sets the configuration for this plugin instance.
PluginBase::$configuration protected property Configuration information passed into the plugin.
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::$translationManager protected property The translation manager service.
PluginBase::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBasePluginId public function Returns the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBasePluginId
PluginBase::getDerivativeId public function Returns the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Returns the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition
PluginBase::getPluginId public function Returns the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::setTranslationManager public function Sets the translation manager for this plugin.
PluginBase::t protected function Translates a string to the current language or to a given language.
PluginBase::translationManager protected function Gets the translation manager.
PluginBase::__construct public function Constructs a Drupal\Component\Plugin\PluginBase object.
PluginBase::__sleep public function @todo Remove when Drupal\Core\DependencyInjection\DependencySerialization is converted to a trait.
PluginBase::__wakeup public function @todo Remove when Drupal\Core\DependencyInjection\DependencySerialization is converted to a trait.
PluginFormInterface::buildConfigurationForm public function Form constructor.
PluginFormInterface::submitConfigurationForm public function Form submission handler.

File

core/modules/aggregator/lib/Drupal/aggregator/Plugin/AggregatorPluginSettingsBase.php, line 17
Contains \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase.

View source
abstract class AggregatorPluginSettingsBase extends PluginBase implements PluginFormInterface, ConfigurablePluginInterface {

  /**
   * {@inheritdoc}
   */
  public function defaultConfiguration() {
    return array();
  }

  /**
   * {@inheritdoc}
   */
  public function validateConfigurationForm(array &$form, array &$form_state) {
  }

}
2 files declare their use of AggregatorPluginSettingsBase
DefaultProcessor.php in core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php
Contains \Drupal\aggregator\Plugin\aggregator\processor\DefaultProcessor.
TestProcessor.php in core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php
Contains \Drupal\aggregator_test\Plugin\aggregator\processor\TestProcessor.