You are here

public function WebformCompositeBase::initialize in Webform 6.x

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

Initialize an element to be displayed, rendered, or exported.

Parameters

array $element: An element.

Overrides WebformElementBase::initialize

2 calls to WebformCompositeBase::initialize()
WebformCompositeBase::getTestValues in src/Plugin/WebformElement/WebformCompositeBase.php
Get test values for an element.
WebformLocationBase::initialize in src/Plugin/WebformElement/WebformLocationBase.php
Initialize an element to be displayed, rendered, or exported.
1 method overrides WebformCompositeBase::initialize()
WebformLocationBase::initialize in src/Plugin/WebformElement/WebformLocationBase.php
Initialize an element to be displayed, rendered, or exported.

File

src/Plugin/WebformElement/WebformCompositeBase.php, line 163

Class

WebformCompositeBase
Provides a base for composite elements.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function initialize(array &$element) {
  parent::initialize($element);
  $this
    ->initializeCompositeElements($element);
}