You are here

protected function ContainerBase::defineDefaultBaseProperties in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/ContainerBase.php \Drupal\webform\Plugin\WebformElement\ContainerBase::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

4 calls to ContainerBase::defineDefaultBaseProperties()
ContainerBase::defineDefaultProperties in src/Plugin/WebformElement/ContainerBase.php
Define an element's default properties.
WebformActions::defineDefaultProperties in src/Plugin/WebformElement/WebformActions.php
Define an element's default properties.
WebformCard::defineDefaultProperties in modules/webform_cards/src/Plugin/WebformElement/WebformCard.php
Define an element's default properties.
WebformWizardPage::defineDefaultProperties in src/Plugin/WebformElement/WebformWizardPage.php
Define an element's default properties.

File

src/Plugin/WebformElement/ContainerBase.php, line 40

Class

ContainerBase
Provides a base 'container' class.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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