You are here

protected function OptionsLimitWebformHandler::isOptionsElement in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php \Drupal\webform_options_limit\Plugin\WebformHandler\OptionsLimitWebformHandler::isOptionsElement()

Determine if options element.

Return value

string TRUE if options element.

4 calls to OptionsLimitWebformHandler::isOptionsElement()
OptionsLimitWebformHandler::alterElement in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Alter webform element.
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::submitConfigurationForm in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Form submission handler.

File

modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php, line 1052

Class

OptionsLimitWebformHandler
Webform options and boolean (boolean) limit handler.

Namespace

Drupal\webform_options_limit\Plugin\WebformHandler

Code

protected function isOptionsElement() {
  $webform_element = $this
    ->getWebformElement();
  return $webform_element instanceof OptionsBase;
}