You are here

public function Webform::isConfidential in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::isConfidential()

Returns the webform confidential indicator.

Return value

bool TRUE if the webform is confidential.

Overrides WebformInterface::isConfidential

1 call to Webform::isConfidential()
Webform::hasRemoteAddr in src/Entity/Webform.php
Determine if remote IP address is being stored.

File

src/Entity/Webform.php, line 705

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

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