public function Fieldset::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
File
- src/
Plugin/ YamlFormElement/ Fieldset.php, line 20
Class
- Fieldset
- Provides a 'fieldset' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getDefaultProperties() {
return parent::getDefaultProperties() + [
// Form display.
'open' => FALSE,
];
}