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\ControllerCode
public function __construct(MessengerInterface $messenger, LoggerChannelInterface $logger) {
$this->messenger = $messenger;
$this->logger = $logger;
}