You are here

public static function DomainThemeSwitchConfigForm::create in Domain Theme Switch 8

Create function return static domain loader configuration.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: Load the ContainerInterface.

Return value

static return domain loader configuration.

Overrides ConfigFormBase::create

File

src/Form/DomainThemeSwitchConfigForm.php, line 61

Class

DomainThemeSwitchConfigForm
Class DomainThemeSwitchConfigForm.

Namespace

Drupal\domain_theme_switch\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('config.factory'), $container
    ->get('entity_type.manager'), $container
    ->get('theme_handler'));
}