protected function OptionsLimitWebformHandler::getWebformElement in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php \Drupal\webform_options_limit\Plugin\WebformHandler\OptionsLimitWebformHandler::getWebformElement()
Get selected webform element plugin.
Return value
\Drupal\webform\Plugin\WebformElementInterface|null A webform element plugin instance.
9 calls to OptionsLimitWebformHandler::getWebformElement()
- OptionsLimitWebformHandler::buildConfigurationForm in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Form constructor.
- OptionsLimitWebformHandler::buildSummaryTable in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Build summary table.
- OptionsLimitWebformHandler::disableOptionsElement in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Disable options element's reached options.
- OptionsLimitWebformHandler::getElementLabel in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Get selected webform element label.
- OptionsLimitWebformHandler::getElementOptions in modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php - Get selected element's options.
File
- modules/
webform_options_limit/ src/ Plugin/ WebformHandler/ OptionsLimitWebformHandler.php, line 1041
Class
- OptionsLimitWebformHandler
- Webform options and boolean (boolean) limit handler.
Namespace
Drupal\webform_options_limit\Plugin\WebformHandlerCode
protected function getWebformElement() {
$element = $this
->getElement();
return $element ? $this->elementManager
->getElementInstance($element) : NULL;
}