You are here

public function CaptchaCachedSettingsSubscriber::__construct in CAPTCHA 8

CaptchaCachedSettingsSubscriber constructor.

Parameters

\Drupal\Core\Render\ElementInfoManagerInterface $elementInfo: Constructor.

File

src/EventSubscriber/CaptchaCachedSettingsSubscriber.php, line 28

Class

CaptchaCachedSettingsSubscriber
A subscriber clearing the cached definitions when saving captcha settings.

Namespace

Drupal\captcha\EventSubscriber

Code

public function __construct(ElementInfoManagerInterface $elementInfo) {
  $this->elementInfo = $elementInfo;
}