You are here

protected function WebformAddressLoqate::formatHtmlItemValue in Loqate 8

Same name and namespace in other branches
  1. 2.x modules/pca_webform/src/Plugin/WebformElement/WebformAddressLoqate.php \Drupal\pca_webform\Plugin\WebformElement\WebformAddressLoqate::formatHtmlItemValue()

Format composite element value into lines of text.

Parameters

array $element: An element.

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

array $options: An array of options.

Return value

array Composite element values converted into lines of html.

Overrides WebformCompositeBase::formatHtmlItemValue

File

modules/pca_webform/src/Plugin/WebformElement/WebformAddressLoqate.php, line 34

Class

WebformAddressLoqate
Provides an 'address' element.

Namespace

Drupal\pca_webform\Plugin\WebformElement

Code

protected function formatHtmlItemValue(array $element, WebformSubmissionInterface $webform_submission, array $options = []) {
  return $this
    ->formatTextItemValue($element, $webform_submission, $options);
}