public function TransactorPluginManager::getTransactors in Transaction 8
Gets the plugin information for all available transactors.
Return value
array Array of all transactors titles keyed by plugin ID.
Overrides TransactorPluginManagerInterface::getTransactors
File
- src/
TransactorPluginManager.php, line 36
Class
- TransactorPluginManager
- The plugin manager for transactor plugins.
Namespace
Drupal\transactionCode
public function getTransactors() {
$transactors = [];
foreach ($this
->getDefinitions() as $plugin_id => $plugin_def) {
$transactors[$plugin_id] = $plugin_def;
}
asort($transactors);
return $transactors;
}