You are here

public function WebformElementInterface::getElementStateOptions in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::getElementStateOptions()

Get an element's supported states as options.

Return value

array An array of element states.

1 method overrides WebformElementInterface::getElementStateOptions()
WebformElementBase::getElementStateOptions in src/Plugin/WebformElementBase.php
Get an element's supported states as options.

File

src/Plugin/WebformElementInterface.php, line 763

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function getElementStateOptions();