CustomStrings::__construct

public CustomStrings::__construct(Settings $settings)

Constructs a CustomStrings object.

Parameters

\Drupal\Core\Site\Settings $settings: The settings read only object.

Overrides StaticTranslation::__construct

File

core/lib/Drupal/Core/StringTranslation/Translator/CustomStrings.php, line 28

Class

CustomStrings
String translator using overrides from variables.

Namespace

Drupal\Core\StringTranslation\Translator

Code

public function __construct(Settings $settings) {
  parent::__construct();
  $this->settings = $settings;
}
doc_Drupal
2016-10-29 08:59:26
Comments
Leave a Comment

Please login to continue.