You are here

interface TransactorPluginManagerInterface in Transaction 8

Plugin manager interface.

Hierarchy

Expanded class hierarchy of TransactorPluginManagerInterface

All classes that implement TransactorPluginManagerInterface

1 file declares its use of TransactorPluginManagerInterface
TransactionCreateDeriver.php in src/Plugin/RulesAction/TransactionCreateDeriver.php

File

src/TransactorPluginManagerInterface.php, line 10

Namespace

Drupal\transaction
View source
interface TransactorPluginManagerInterface extends PluginManagerInterface {

  /**
   * Gets the plugin information for all available transactors.
   *
   * @return array
   *   Array of all transactors titles keyed by plugin ID.
   */
  public function getTransactors();

  /**
   * Gets the plugin information for a transactor.
   *
   * @param string $transactor_id
   *   The ID of the requested transactor information.
   *
   * @return array
   *   The transactor plugin information. NULL if no such transactor.
   */
  public function getTransactor($transactor_id);

}

Members

Namesort descending Modifiers Type Description Overrides
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 4
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 3
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
FactoryInterface::createInstance public function Creates a pre-configured instance of a plugin. 7
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4
TransactorPluginManagerInterface::getTransactor public function Gets the plugin information for a transactor. 1
TransactorPluginManagerInterface::getTransactors public function Gets the plugin information for all available transactors. 1