You are here

protected function WebformEntityAjaxFormTrait::isDialogDisabled in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Form/WebformEntityAjaxFormTrait.php \Drupal\webform\Form\WebformEntityAjaxFormTrait::isDialogDisabled()

Determine if dialogs are disabled.

Return value

bool TRUE if dialogs are disabled.

2 calls to WebformEntityAjaxFormTrait::isDialogDisabled()
WebformEntityAjaxFormTrait::actions in src/Form/WebformEntityAjaxFormTrait.php
WebformEntityAjaxFormTrait::buildForm in src/Form/WebformEntityAjaxFormTrait.php

File

src/Form/WebformEntityAjaxFormTrait.php, line 32

Class

WebformEntityAjaxFormTrait
Trait class for Webform Ajax support.

Namespace

Drupal\webform\Form

Code

protected function isDialogDisabled() {
  return \Drupal::config('webform.settings')
    ->get('ui.dialog_disabled');
}