You are here

public function PluralFormula::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/PluralFormula.php \Drupal\locale\PluralFormula::__construct()

Parameters

\Drupal\Core\Language\LanguageManagerInterface $language_manager:

\Drupal\Core\State\StateInterface $state:

File

core/modules/locale/src/PluralFormula.php, line 52
Contains \Drupal\locale\PluralFormula.

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;
}