You are here

public function Webform::hasSubmissionLog in Webform 8.5

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

Determine if submissions are being logged.

Return value

bool TRUE if submissions are being logged.

Overrides WebformInterface::hasSubmissionLog

File

src/Entity/Webform.php, line 737

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function hasSubmissionLog() {
  return $this
    ->getSetting('submission_log', TRUE) ?: FALSE;
}