You are here

public function EditCurrencyLocale::title in Currency 8.3

Returns the title for a currency locale edit page.

Parameters

\Drupal\currency\Entity\CurrencyLocaleInterface $currency_locale:

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup

1 string reference to 'EditCurrencyLocale::title'
currency.routing.yml in ./currency.routing.yml
currency.routing.yml

File

src/Controller/EditCurrencyLocale.php, line 40

Class

EditCurrencyLocale
Handles the "edit currency locale" route.

Namespace

Drupal\currency\Controller

Code

public function title(CurrencyLocaleInterface $currency_locale) {
  return $this
    ->t('Edit @label', array(
    '@label' => $currency_locale
      ->label(),
  ));
}