You are here

public function YamlForm::isConfidential in YAML Form 8

Returns the form confidential indicator.

Return value

bool TRUE if the form is confidential .

Overrides YamlFormInterface::isConfidential

File

src/Entity/YamlForm.php, line 324

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

public function isConfidential() {
  return $this
    ->getSetting('form_confidential');
}