public function WebformHandlerInterface::checkConditions in Webform 6.x
Same name and namespace in other branches
- 8.5 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…
- \Drupal\webform\Plugin\WebformHandlerInterface::alterElements
- \Drupal\webform\Plugin\WebformHandlerInterface::preCreate
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 305
Class
- WebformHandlerInterface
- Defines the interface for webform handlers.
Namespace
Drupal\webform\PluginCode
public function checkConditions(WebformSubmissionInterface $webform_submission);