You are here

protected property WebformSubmissionConditionsValidator::$aliases in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/WebformSubmissionConditionsValidator.php \Drupal\webform\WebformSubmissionConditionsValidator::aliases

State aliases.

Type: array

See also

Drupal.states.State.aliases

File

src/WebformSubmissionConditionsValidator.php, line 32

Class

WebformSubmissionConditionsValidator
Webform submission conditions (#states) validator.

Namespace

Drupal\webform

Code

protected $aliases = [
  'enabled' => '!disabled',
  'invisible' => '!visible',
  'invisible-slide' => '!visible-slide',
  'invalid' => '!valid',
  'optional' => '!required',
  'filled' => '!empty',
  'unchecked' => '!checked',
  'expanded' => '!collapsed',
  'open' => '!collapsed',
  'closed' => 'collapsed',
  'readwrite' => '!readonly',
];