You are here

protected property WebformUiEntityElementsForm::$requiredStates in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_ui/src/WebformUiEntityElementsForm.php \Drupal\webform_ui\WebformUiEntityElementsForm::requiredStates

Array of required states.

Type: array

File

modules/webform_ui/src/WebformUiEntityElementsForm.php, line 33

Class

WebformUiEntityElementsForm
Webform manage elements UI form.

Namespace

Drupal\webform_ui

Code

protected $requiredStates = [
  'required' => 'required',
  '!required' => '!required',
  'optional' => 'optional',
  '!optional' => '!optional',
];