public function WebformHandlerBase::setConditions in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::setConditions()
Sets the conditions for this webform handler.
Parameters
array $conditions: The conditional logic for this webform handler.
Return value
$this
Overrides WebformHandlerInterface::setConditions
File
- src/
Plugin/ WebformHandlerBase.php, line 326
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function setConditions(array $conditions) {
$this->conditions = $conditions;
$this->conditionsResultCache = [];
return $this;
}