public function CurrencyLocale::setPattern in Currency 8.3
Sets the CLDR pattern.
Parameters
string $pattern:
Return value
\Drupal\currency\Entity\CurrencyLocaleInterface
Overrides CurrencyLocaleInterface::setPattern
File
- src/
Entity/ CurrencyLocale.php, line 146
Class
- CurrencyLocale
- Defines a currency locale entity.
Namespace
Drupal\currency\EntityCode
public function setPattern($pattern) {
$this->pattern = $pattern;
return $this;
}