class AggregatorPluginSettingsBase
Same name in other branches
- 8.9.x core/modules/aggregator/src/Plugin/AggregatorPluginSettingsBase.php \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase
Base class for aggregator plugins that implement settings forms.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\aggregator\Plugin\AggregatorPluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Plugin\PluginFormInterface, \Drupal\Component\Plugin\ConfigurableInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
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
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 23
Namespace
Drupal\aggregator\PluginView source
abstract class AggregatorPluginSettingsBase extends PluginBase implements PluginFormInterface, ConfigurableInterface, DependentPluginInterface {
/**
* {@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. | 15 | |
ConfigurableInterface::setConfiguration | public | function | Sets the configuration for this plugin instance. | 15 | |
PluginFormInterface::buildConfigurationForm | public | function | Form constructor. | 33 | |
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.