You are here

public function Webform::hasSubmissionLog in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 738

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

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