protected function WebformAjaxFormTrait::resetAnnouncements in Webform 6.x
Same name and namespace in other branches
- 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\FormCode
protected function resetAnnouncements() {
drupal_static_reset('webform_announcements');
}