You are here

public static function ConfigTranslateForm::create in Translation Management Tool 8

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

Return value

static

Overrides FormBase::create

File

sources/tmgmt_config/src/Form/ConfigTranslateForm.php, line 60

Class

ConfigTranslateForm
Configuration translation overview form.

Namespace

Drupal\tmgmt_config\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('plugin.manager.config_translation.mapper'), $container
    ->get('current_route_match'));
}