function TranslatableStringFactory::createTranslationParameters

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/src/TranslatableStringFactory.php \Drupal\package_manager\TranslatableStringFactory::createTranslationParameters()

File

core/modules/package_manager/src/TranslatableStringFactory.php, line 52

Class

TranslatableStringFactory
Creates translatable strings that can interoperate with Composer Stager.

Namespace

Drupal\package_manager

Code

public function createTranslationParameters(array $parameters = []) : TranslationParametersInterface {
  return $this->decorated
    ->createTranslationParameters($parameters);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.