You are here

protected function ContainerTrait::specialT in GoogleTagManager 8

Returns a translated string after placeholder substitution.

Parameters

string $string: The string to manipulate.

array $args: The associative array of replacement values.

Return value

string The translated string.

1 call to ContainerTrait::specialT()
ContainerTrait::genericFieldset in src/Form/ContainerTrait.php
Fieldset builder for the container settings form.

File

src/Form/ContainerTrait.php, line 244

Class

ContainerTrait
Defines shared routines for the container and settings forms.

Namespace

Drupal\google_tag\Form

Code

protected function specialT($string, array $args) {
  return $this
    ->t(strtr($string, $args));
}