You are here

public function Details::getDefaultProperties in YAML Form 8

Only a few elements don't inherit these default properties.

Overrides ContainerBase::getDefaultProperties

See also

\Drupal\yamlform\Plugin\YamlFormElement\Textarea

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormLikert

\Drupal\yamlform\Plugin\YamlFormElement\YamlFormCompositeBase

\Drupal\yamlform\Plugin\YamlFormElement\ContainerBase

1 method overrides Details::getDefaultProperties()
YamlFormWizardPage::getDefaultProperties in src/Plugin/YamlFormElement/YamlFormWizardPage.php
Only a few elements don't inherit these default properties.

File

src/Plugin/YamlFormElement/Details.php, line 22

Class

Details
Provides a 'details' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getDefaultProperties() {
  return parent::getDefaultProperties() + [
    // Form display.
    'open' => FALSE,
  ];
}