You are here

protected function WebformAjaxFormTrait::isDialog in Webform 8.5

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

Is the current request for an Ajax modal/dialog.

Return value

bool TRUE if the current request is for an Ajax modal/dialog.

15 calls to WebformAjaxFormTrait::isDialog()
WebformConfigEntityDeleteFormBase::getQuestion in src/Form/WebformConfigEntityDeleteFormBase.php
Returns the question to ask the user.
WebformDevelEntityFormApiTestForm::submitForm in modules/webform_devel/src/Form/WebformDevelEntityFormApiTestForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
WebformDialogFormTrait::buildDialogConfirmForm in src/Form/WebformDialogFormTrait.php
Add modal dialog support to a confirm form.
WebformDialogFormTrait::buildDialogDeleteAction in src/Form/WebformDialogFormTrait.php
Build webform dialog delete link.
WebformDialogFormTrait::isAjax in src/Form/WebformDialogFormTrait.php
Returns if webform is using Ajax.

... See full list


src/Form/WebformAjaxFormTrait.php, line 75


Trait class for Webform Ajax support.




protected function isDialog() {
  $wrapper_format = $this
  return in_array($wrapper_format, [
  ]) ? TRUE : FALSE;