You are here

public function AmountFormatterManagerInterface::setDefaultPluginId in Currency 8.3

Sets the default plugin ID.

Parameters

string $plugin_id:

Return value

$this

1 method overrides AmountFormatterManagerInterface::setDefaultPluginId()
AmountFormatterManager::setDefaultPluginId in src/Plugin/Currency/AmountFormatter/AmountFormatterManager.php
Sets the default plugin ID.

File

src/Plugin/Currency/AmountFormatter/AmountFormatterManagerInterface.php, line 26

Class

AmountFormatterManagerInterface
Defines an amount formatter plugin manager.

Namespace

Drupal\currency\Plugin\Currency\AmountFormatter

Code

public function setDefaultPluginId($plugin_id);