You are here

protected function OptionsLimitWebformHandler::isTableSelectElement in Webform 6.x

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

Determine if table select element.

Return value

string TRUE if table select element.

4 calls to OptionsLimitWebformHandler::isTableSelectElement()
OptionsLimitWebformHandler::alterElement in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Alter webform element.
OptionsLimitWebformHandler::alterOptionsElementLabels in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Alter an options element's option labels recursively.
OptionsLimitWebformHandler::disableOptionsElement in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Disable options element's reached options.
OptionsLimitWebformHandler::setOptionsElementDefaultValue in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Set an options element's default value.

File

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

Class

OptionsLimitWebformHandler
Webform options and boolean (boolean) limit handler.

Namespace

Drupal\webform_options_limit\Plugin\WebformHandler

Code

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