PluralFormula::__construct

public PluralFormula::__construct(LanguageManagerInterface $language_manager, StateInterface $state)

Parameters

\Drupal\Core\Language\LanguageManagerInterface $language_manager:

\Drupal\Core\State\StateInterface $state:

File

core/modules/locale/src/PluralFormula.php, line 47

Class

PluralFormula
Manages the storage of plural formula per language in state.

Namespace

Drupal\locale

Code

public function __construct(LanguageManagerInterface $language_manager, StateInterface $state) {
  $this->languageManager = $language_manager;
  $this->state = $state;
}
doc_Drupal
2016-10-29 09:34:16
Comments
Leave a Comment

Please login to continue.