You are here

public function WebformHandlerInterface::checkConditions in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandlerInterface.php \Drupal\webform\Plugin\WebformHandlerInterface::checkConditions()

Check handler conditions against a webform submission.

Note: Conditions are only applied to callbacks that require a webform submissions.

Conditions are ignored by…

Parameters

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

Return value

bool TRUE if handler is disable or webform submission passes conditions. FALSE if webform submission fails conditions.

1 method overrides WebformHandlerInterface::checkConditions()
WebformHandlerBase::checkConditions in src/Plugin/WebformHandlerBase.php
Check handler conditions against a webform submission.

File

src/Plugin/WebformHandlerInterface.php, line 351

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

public function checkConditions(WebformSubmissionInterface $webform_submission);