public function ExportPluginManager::getAvailableExportPlugins in Search API Synonym 8
Gets a list of available export plugins.
Return value
array An array with the plugin names as keys and the descriptions as values.
File
- src/
Export/ ExportPluginManager.php, line 107
Class
- ExportPluginManager
- Base class for search api synonym export plugin managers.
Namespace
Drupal\search_api_synonym\ExportCode
public function getAvailableExportPlugins() {
// Use plugin system to get list of available export plugins.
$plugins = $this
->getDefinitions();
$output = [];
foreach ($plugins as $id => $definition) {
$output[$id] = $definition;
}
return $output;
}