You are here

protected function VerticalTabs::defineDefaultBaseProperties in Webform 6.x

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

Define default base properties used by all elements.

Return value

array An associative array containing base properties used by all elements.

Overrides WebformElementBase::defineDefaultBaseProperties

1 call to VerticalTabs::defineDefaultBaseProperties()
VerticalTabs::defineDefaultProperties in src/Plugin/WebformElement/VerticalTabs.php
Define an element's default properties.

File

src/Plugin/WebformElement/VerticalTabs.php, line 53

Class

VerticalTabs
Provides a hidden 'vertical_tabs' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

protected function defineDefaultBaseProperties() {
  $properties = parent::defineDefaultBaseProperties();
  unset($properties['prepopulate'], $properties['states_clear']);
  return $properties;
}