You are here

protected function WebformSubmissionForm::isConfidential in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionForm.php \Drupal\webform\WebformSubmissionForm::isConfidential()

Returns the webform confidential indicator.

Return value

bool TRUE if the webform is confidential.

2 calls to WebformSubmissionForm::isConfidential()
WebformSubmissionForm::getCustomForm in src/WebformSubmissionForm.php
Get custom webform which is displayed instead of the webform's elements.
WebformSubmissionForm::save in src/WebformSubmissionForm.php
Form submission handler for the 'save' action.

File

src/WebformSubmissionForm.php, line 2887

Class

WebformSubmissionForm
Provides a webform to collect and edit submissions.

Namespace

Drupal\webform

Code

protected function isConfidential() {
  return $this
    ->getWebformSetting('form_confidential', FALSE);
}