You are here

public function LanguageConfigEntityFormBase::__construct in Flags 8

Constructs a ContentEntityForm object.

Parameters

FullLanguageManagerInterface $language_manager: The configurable language manager.

string[] $flags: Array of all available flags with their names.

File

flags_ui/src/Form/LanguageConfigEntityFormBase.php, line 49

Class

LanguageConfigEntityFormBase
Class ConfigEntityFormBase.

Namespace

Drupal\flags_ui\Form

Code

public function __construct($language_manager, $flags) {
  $this->languageManager = $language_manager;
  $this->flags = $flags;
}