interface ExportPluginInterface in Search API Synonym 8
Provides an interface for search api synonym export plugins.
Hierarchy
- interface \Drupal\Core\Plugin\PluginFormInterface; interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface
- interface \Drupal\search_api_synonym\Export\ExportPluginInterface
Expanded class hierarchy of ExportPluginInterface
All classes that implement ExportPluginInterface
1 file declares its use of ExportPluginInterface
File
- src/
Export/ ExportPluginInterface.php, line 14
Namespace
Drupal\search_api_synonym\ExportView source
interface ExportPluginInterface extends PluginFormInterface, ConfigurableInterface, DependentPluginInterface {
/**
* Get synonyms in the export format.
**
* @param array $synonyms
* An array containing synonym objects.
*
* @return string
* The formatted synonyms as a string ready to be saved to an export file.
*/
public function getFormattedSynonyms(array $synonyms);
}
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 |
ExportPluginInterface:: |
public | function | Get synonyms in the export format. * | 1 |
PluginFormInterface:: |
public | function | Form constructor. | 36 |
PluginFormInterface:: |
public | function | Form submission handler. | 32 |
PluginFormInterface:: |
public | function | Form validation handler. | 18 |