public function Webform::hasConditions in Webform 8.5
Same name and namespace in other branches
- 6.x 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 828
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function hasConditions() {
$this
->initElements();
return $this->hasConditions;
}