You are here

CurrencyExchangeRateProvider.php in Currency 8.3

File

src/Annotation/CurrencyExchangeRateProvider.php
View source
<?php

namespace Drupal\currency\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a currency exchange rate provider plugin definition.
 *
 * If a plugin exposes configuration, it SHOULD also provide a configuration
 * schema for this configuration of which the name is
 * `plugin.plugin_configuration.currency_exchange_rate_provider.[plugin_id]`,
 * where `[plugin_id]` is the plugin's ID.
 *
 * @Annotation
 */
class CurrencyExchangeRateProvider extends Plugin {

  /**
   * The translated human-readable plugin name (optional).
   *
   * @var string
   */
  public $description = '';

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The translated human-readable plugin name.
   *
   * @var string
   */
  public $label;

  /**
   * The name of the class that provides plugin operations.
   *
   * The class must implement \Drupal\plugin\PluginOperationsProviderInterface.
   *
   * @var string
   */
  public $operations_provider;

}

Classes

Namesort descending Description
CurrencyExchangeRateProvider Defines a currency exchange rate provider plugin definition.