You are here

public function FormConverterFactory::__construct in Drupal 7 to 8/9 Module Upgrader 8

File

src/Utility/FormConverterFactory.php, line 19

Class

FormConverterFactory

Namespace

Drupal\drupalmoduleupgrader\Utility

Code

public function __construct(TranslationInterface $translator, PluginManagerInterface $rewriters) {
  $this->stringTranslation = $translator;
  $this->rewriter = $rewriters
    ->createInstance('form_state');
}