TranslateFormBase::__construct

public TranslateFormBase::__construct(StringStorageInterface $locale_storage, StateInterface $state, LanguageManagerInterface $language_manager)

Constructs a new TranslationFormBase object.

Parameters

\Drupal\locale\StringStorageInterface $locale_storage: The locale storage.

\Drupal\Core\State\StateInterface $state: The state service.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

File

core/modules/locale/src/Form/TranslateFormBase.php, line 56

Class

TranslateFormBase
Defines the locale user interface translation form base.

Namespace

Drupal\locale\Form

Code

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

Please login to continue.