function 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.