public function WebformWizardPage::getElementStateOptions in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/WebformWizardPage.php \Drupal\webform\Plugin\WebformElement\WebformWizardPage::getElementStateOptions()
Get an element's supported states as options.
Return value
array An array of element states.
Overrides WebformElementBase::getElementStateOptions
File
- src/
Plugin/ WebformElement/ WebformWizardPage.php, line 145
Class
- WebformWizardPage
- Provides a 'webform_wizard_page' element.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function getElementStateOptions() {
return [
'visible' => $this
->t('Visible'),
'invisible' => $this
->t('Hidden'),
];
}