You are here

public function ThemeSwitcherController::__construct in Theme Switcher Rules 8

ThemeSwitcherController constructor.

Parameters

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.

\Drupal\Core\Logger\LoggerChannelInterface $logger: The logger.

File

src/Controller/ThemeSwitcherController.php, line 41

Class

ThemeSwitcherController
Controller routines for AJAX callbacks for domain actions.

Namespace

Drupal\theme_switcher\Controller

Code

public function __construct(MessengerInterface $messenger, LoggerChannelInterface $logger) {
  $this->messenger = $messenger;
  $this->logger = $logger;
}