You are here

public function WebformElementInterface::finalize in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::finalize()

Finalize an element to be rendered within a webform.

Parameters

array $element: An element.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission. Webform submission is optional since it is not used by composite sub elements.

See also

\Drupal\webform\Element\WebformCompositeBase::processWebformComposite

1 method overrides WebformElementInterface::finalize()
WebformElementBase::finalize in src/Plugin/WebformElementBase.php
Finalize an element to be rendered within a webform.

File

src/Plugin/WebformElementInterface.php, line 343

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function finalize(array &$element, WebformSubmissionInterface $webform_submission = NULL);