interface FeedsPluginInterface in Feeds 8.3
Interface that all Feeds plugins must implement.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface
- interface \Drupal\feeds\Plugin\Type\FeedsPluginInterface
Expanded class hierarchy of FeedsPluginInterface
All classes that implement FeedsPluginInterface
17 files declare their use of FeedsPluginInterface
- CsvParserFeedFormTest.php in tests/
src/ Unit/ Feeds/ Parser/ Form/ CsvParserFeedFormTest.php - CsvParserFormTest.php in tests/
src/ Unit/ Feeds/ Parser/ Form/ CsvParserFormTest.php - DirectoryFetcherFormTest.php in tests/
src/ Unit/ Feeds/ Fetcher/ Form/ DirectoryFetcherFormTest.php - Feed.php in src/
Entity/ Feed.php - FeedForm.php in src/
FeedForm.php
File
- src/
Plugin/ Type/ FeedsPluginInterface.php, line 12
Namespace
Drupal\feeds\Plugin\TypeView source
interface FeedsPluginInterface extends PluginInspectionInterface, ConfigurableInterface, DependentPluginInterface {
/**
* Returns the type of plugin.
*
* @return string
* The type of plugin. Usually, one of 'fetcher', 'parser', or 'processor'.
*
* @see \Drupal\feeds\Plugin\Type\FeedsPluginManager::processDefinition()
*/
public function pluginType();
/**
* Returns default feed configuration.
*
* @return array
* The default feed configuration.
*/
public function defaultFeedConfiguration();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 11 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 12 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 12 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
FeedsPluginInterface:: |
public | function | Returns default feed configuration. | 1 |
FeedsPluginInterface:: |
public | function | Returns the type of plugin. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |