public function Webform::hasActions in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::hasActions()
Determine if the webform has any custom actions (aka submit buttons).
Return value
bool TRUE if the webform has any custom actions (aka submit buttons).
Overrides WebformInterface::hasActions
1 call to Webform::hasActions()
- Webform::setElementProperties in src/
Entity/ Webform.php - Set element properties.
File
- src/
Entity/ Webform.php, line 844
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function hasActions() {
return $this
->getNumberOfActions() ? TRUE : FALSE;
}