You are here

protected function YamlFormSubmissionForm::isConfidential in YAML Form 8

Returns the form confidential indicator.

Return value

bool TRUE if the form is confidential .

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

File

src/YamlFormSubmissionForm.php, line 1358

Class

YamlFormSubmissionForm
Provides a form to collect and edit submissions.

Namespace

Drupal\yamlform

Code

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