You are here

public function CurrencyInterface::setSymbol in Price 8

Same name and namespace in other branches
  1. 3.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setSymbol()
  2. 2.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setSymbol()
  3. 2.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setSymbol()
  4. 3.0.x src/Entity/CurrencyInterface.php \Drupal\price\Entity\CurrencyInterface::setSymbol()

Sets the currency symbol.

Parameters

string $symbol: The currency symbol.

Return value

$this

1 method overrides CurrencyInterface::setSymbol()
Currency::setSymbol in src/Entity/Currency.php
Sets the currency symbol.

File

src/Entity/CurrencyInterface.php, line 85

Class

CurrencyInterface
Defines the interface for currencies.

Namespace

Drupal\price\Entity

Code

public function setSymbol($symbol);