You are here

protected function WebformAddress::formatHtmlItemValue in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/WebformAddress.php \Drupal\webform\Plugin\WebformElement\WebformAddress::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

src/Plugin/WebformElement/WebformAddress.php, line 32

Class

WebformAddress
Provides an 'address' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

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