public function AmountFormatterManager::getDefaultPlugin in Currency 8.3
Gets the default formatter.
Return value
\Drupal\currency\Plugin\Currency\AmountFormatter\AmountFormatterInterface
Overrides AmountFormatterManagerInterface::getDefaultPlugin
File
- src/
Plugin/ Currency/ AmountFormatter/ AmountFormatterManager.php, line 73
Class
- AmountFormatterManager
- Manages amount formatter plugins.
Namespace
Drupal\currency\Plugin\Currency\AmountFormatterCode
public function getDefaultPlugin() {
return $this
->createInstance($this
->getDefaultPluginId());
}