You are here

interface ExchangeRateProviderManagerInterface in Currency 8.3

Defines an amount formatter plugin manager.

Hierarchy

Expanded class hierarchy of ExchangeRateProviderManagerInterface

All classes that implement ExchangeRateProviderManagerInterface

9 files declare their use of ExchangeRateProviderManagerInterface
FixedRatesForm.php in src/Form/FixedRatesForm.php
FixedRatesFormTest.php in tests/src/Unit/Controller/FixedRatesFormTest.php
FixedRatesFormTest.php in tests/src/Unit/Form/FixedRatesFormTest.php
FixedRatesOverview.php in src/Controller/FixedRatesOverview.php
FixedRatesOverviewTest.php in tests/src/Unit/Controller/FixedRatesOverviewTest.php

... See full list

File

src/Plugin/Currency/ExchangeRateProvider/ExchangeRateProviderManagerInterface.php, line 11

Namespace

Drupal\currency\Plugin\Currency\ExchangeRateProvider
View source
interface ExchangeRateProviderManagerInterface extends PluginManagerInterface, PluginOperationsProviderProviderInterface {

  /**
   * Creates an exchange rate provider.
   *
   * @param string $plugin_id
   *   The id of the plugin being instantiated.
   * @param mixed[] $configuration
   *   An array of configuration relevant to the plugin instance.
   *
   * @return \Drupal\currency\Plugin\Currency\ExchangeRateProvider\ExchangeRateProviderInterface
   */
  public function createInstance($plugin_id, array $configuration = array());

}

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
ExchangeRateProviderManagerInterface::createInstance public function Creates an exchange rate provider. Overrides FactoryInterface::createInstance
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4
PluginOperationsProviderProviderInterface::getOperationsProvider public function Gets the plugin's operations provider.