public function Webform::hasConditions in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Entity/Webform.php \Drupal\webform\Entity\Webform::hasConditions()
Determine if the webform has conditional logic (i.e. #states).
Return value
bool TRUE if the webform has conditional logic.
Overrides WebformInterface::hasConditions
File
- src/
Entity/ Webform.php, line 829
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function hasConditions() {
$this
->initElements();
return $this->hasConditions;
}