protected function OptionsLimitWebformHandler::isBooleanElement in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php \Drupal\webform_options_limit\Plugin\WebformHandler\OptionsLimitWebformHandler::isBooleanElement()
Determine if boolean element.
Return value
string TRUE if boolean element.
1 call to OptionsLimitWebformHandler::isBooleanElement()
- OptionsLimitWebformHandler::getSummary in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Returns a render array summarizing the configuration of the webform handler.
File
- modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php, line 1047
Class
- OptionsLimitWebformHandler
- Webform options and boolean (boolean) limit handler.
Namespace
Drupal\webform_options_limit\Plugin\WebformHandlerCode
protected function isBooleanElement() {
$webform_element = $this
->getWebformElement();
return $webform_element instanceof BooleanBase;
}