You are here

public function PanopolyThemeSelectionForm::__construct in Panopoly Theme 8.2

PanopolyThemeSelectionForm constructor.

Parameters

\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler service.

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

\Drupal\Core\Extension\ThemeInstallerInterface $theme_installer: The theme installer service.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/Form/PanopolyThemeSelectionForm.php, line 59

Class

PanopolyThemeSelectionForm
Provides a form to choose the starting theme.

Namespace

Drupal\panopoly_theme\Form

Code

public function __construct(ThemeHandlerInterface $theme_handler, RendererInterface $renderer, ThemeInstallerInterface $theme_installer, ConfigFactoryInterface $config_factory) {
  $this->themeHandler = $theme_handler;
  $this->renderer = $renderer;
  $this->themeInstaller = $theme_installer;
  $this->configFactory = $config_factory;
}