You are here

public function ExchangeRates::getPlugin in Commerce Exchanger 8

1 call to ExchangeRates::getPlugin()
ExchangeRates::preSave in src/Entity/ExchangeRates.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/ExchangeRates.php, line 120

Class

ExchangeRates
Defines the Exchange rates entity.

Namespace

Drupal\commerce_exchanger\Entity

Code

public function getPlugin() {
  return $this
    ->getPluginCollection()
    ->get($this->plugin);
}