You are here

public function WebformHandlerInterface::alterElements in Webform 8.5

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

Alter webform submission webform elements.

Note: This hook is ignored by conditional logic.

Parameters

array $elements: An associative array containing the webform elements.

\Drupal\webform\WebformInterface $webform: The webform.

1 method overrides WebformHandlerInterface::alterElements()
WebformHandlerBase::alterElements in src/Plugin/WebformHandlerBase.php
Alter webform submission webform elements.

File

src/Plugin/WebformHandlerInterface.php, line 367

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

public function alterElements(array &$elements, WebformInterface $webform);