public function EmailTemplateService::checkTemplate in Lightweight Directory Access Protocol (LDAP) 8.3
Same name and namespace in other branches
- 8.4 ldap_authentication/src/Routing/EmailTemplateService.php \Drupal\ldap_authentication\Routing\EmailTemplateService::checkTemplate()
Check for template if enabled.
Parameters
\Symfony\Component\HttpKernel\Event\GetResponseEvent $event: Response event.
File
- ldap_authentication/
src/ Routing/ EmailTemplateService.php, line 35
Class
- EmailTemplateService
- Class EmailTemplateService.
Namespace
Drupal\ldap_authentication\RoutingCode
public function checkTemplate(GetResponseEvent $event) {
if ($this->config
->get('emailTemplateUsagePromptUser') === TRUE) {
$this
->checkForEmailTemplate();
}
}