You are here

protected function WebformElementBase::prepareElementPreRenderCallbacks in Webform 8.5

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

Prepare an element's pre render callbacks.

Parameters

array $element: An element.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

3 calls to WebformElementBase::prepareElementPreRenderCallbacks()
Address::prepareElementPreRenderCallbacks in src/Plugin/WebformElement/Address.php
Prepare an element's pre render callbacks.
WebformCustomComposite::prepareElementPreRenderCallbacks in src/Plugin/WebformElement/WebformCustomComposite.php
Prepare an element's pre render callbacks.
WebformElementBase::finalize in src/Plugin/WebformElementBase.php
Finalize an element to be rendered within a webform.
3 methods override WebformElementBase::prepareElementPreRenderCallbacks()
Address::prepareElementPreRenderCallbacks in src/Plugin/WebformElement/Address.php
Prepare an element's pre render callbacks.
PasswordConfirm::prepareElementPreRenderCallbacks in src/Plugin/WebformElement/PasswordConfirm.php
Prepare an element's pre render callbacks.
WebformCustomComposite::prepareElementPreRenderCallbacks in src/Plugin/WebformElement/WebformCustomComposite.php
Prepare an element's pre render callbacks.

File

src/Plugin/WebformElementBase.php, line 1087

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

protected function prepareElementPreRenderCallbacks(array &$element, WebformSubmissionInterface $webform_submission = NULL) {

  // Do nothing.
}