public static function CaptchaCachedSettingsSubscriber::getSubscribedEvents in CAPTCHA 8
File
- src/
EventSubscriber/ CaptchaCachedSettingsSubscriber.php, line 49
Class
- CaptchaCachedSettingsSubscriber
- A subscriber clearing the cached definitions when saving captcha settings.
Namespace
Drupal\captcha\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ConfigEvents::SAVE][] = [
'onSave',
];
return $events;
}