public CustomStrings::__construct(Settings $settings)
Constructs a CustomStrings object.
\Drupal\Core\Site\Settings $settings: The settings read only object.
Overrides StaticTranslation::__construct
public function __construct(Settings $settings) { parent::__construct(); $this->settings = $settings; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StringTranslation!Translator!CustomStrings.php/function/CustomStrings::__construct/8.1.x