You are here

protected function Fieldset::defineDefaultProperties in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/Fieldset.php \Drupal\webform\Plugin\WebformElement\Fieldset::defineDefaultProperties()

Define an element's default properties.

Return value

array An associative array contain an the element's default properties.

Overrides ContainerBase::defineDefaultProperties

File

src/Plugin/WebformElement/Fieldset.php, line 21

Class

Fieldset
Provides a 'fieldset' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineDefaultProperties() {
  return [
    // Description/Help.
    'help' => '',
    'help_title' => '',
    'help_display' => '',
    'description' => '',
    'more' => '',
    'more_title' => '',
    // Title.
    'title_display' => '',
    'description_display' => '',
  ] + parent::defineDefaultProperties();
}