public function ThemeSwitcherRuleDeleteForm::__construct in Theme Switcher Rules 8
Constructs an SwitchThemeRuleForm object.
Parameters
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
\Drupal\Core\Logger\LoggerChannelInterface $logger: The logger.
File
- src/
Form/ ThemeSwitcherRuleDeleteForm.php, line 39
Class
- ThemeSwitcherRuleDeleteForm
- Builds the form to delete a theme_switcher_rule.
Namespace
Drupal\theme_switcher\FormCode
public function __construct(MessengerInterface $messenger, LoggerChannelInterface $logger) {
$this->messenger = $messenger;
$this->logger = $logger;
}