protected function WebformEntityAjaxFormTrait::getDefaultAjaxSettings in Webform 8.5
Same name and namespace in other branches
- 6.x src/Form/WebformEntityAjaxFormTrait.php \Drupal\webform\Form\WebformEntityAjaxFormTrait::getDefaultAjaxSettings()
Get default ajax callback settings.
Return value
array An associative array containing default ajax callback settings.
Overrides WebformAjaxFormTrait::getDefaultAjaxSettings
File
- src/
Form/ WebformEntityAjaxFormTrait.php, line 132
Class
- WebformEntityAjaxFormTrait
- Trait class for Webform Ajax support.
Namespace
Drupal\webform\FormCode
protected function getDefaultAjaxSettings() {
return [
'disable-refocus' => TRUE,
'progress' => [
'type' => 'fullscreen',
],
];
}