You are here

protected function WebformAjaxFormTrait::resetAnnouncements in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Form/WebformAjaxFormTrait.php \Drupal\webform\Form\WebformAjaxFormTrait::resetAnnouncements()

Reset announcements.

2 calls to WebformAjaxFormTrait::resetAnnouncements()
WebformAjaxFormTrait::setAnnouncements in src/Form/WebformAjaxFormTrait.php
Set announcements.
WebformAjaxFormTrait::submitAjaxForm in src/Form/WebformAjaxFormTrait.php
Submit form #ajax callback.

File

src/Form/WebformAjaxFormTrait.php, line 442

Class

WebformAjaxFormTrait
Trait for webform ajax support.

Namespace

Drupal\webform\Form

Code

protected function resetAnnouncements() {
  drupal_static_reset('webform_announcements');
}