You are here

ExchangerProviderInterface.php in Commerce Exchanger 8

File

src/Plugin/Commerce/ExchangerProvider/ExchangerProviderInterface.php
View source
<?php

namespace Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProvider;

use Drupal\Component\Plugin\DerivativeInspectionInterface;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\Core\Plugin\PluginFormInterface;

/**
 * Defines an interface for Commerce exchange rates provider plugins.
 */
interface ExchangerProviderInterface extends PluginInspectionInterface, PluginFormInterface, DerivativeInspectionInterface {

  /**
   * Return config object name where exchange rates are saved.
   *
   * @return string
   *   Return drupal config file name where exchange rates are imported.
   */
  public function getConfigName();

}

Interfaces

Namesort descending Description
ExchangerProviderInterface Defines an interface for Commerce exchange rates provider plugins.