protected function WebformCompositeBase::formatHtmlItemValue in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/WebformCompositeBase.php \Drupal\webform\Plugin\WebformElement\WebformCompositeBase::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.
1 call to WebformCompositeBase::formatHtmlItemValue()
- WebformCompositeBase::formatHtmlItem in src/
Plugin/ WebformElement/ WebformCompositeBase.php - Format an element's value as HTML.
6 methods override WebformCompositeBase::formatHtmlItemValue()
- WebformAddress::formatHtmlItemValue in src/
Plugin/ WebformElement/ WebformAddress.php - Format composite element value into lines of text.
- WebformContact::formatHtmlItemValue in src/
Plugin/ WebformElement/ WebformContact.php - Format composite element value into lines of text.
- WebformExampleComposite::formatHtmlItemValue in modules/
webform_example_composite/ src/ Plugin/ WebformElement/ WebformExampleComposite.php - Format composite element value into lines of text.
- WebformLink::formatHtmlItemValue in src/
Plugin/ WebformElement/ WebformLink.php - Format composite element value into lines of text.
- WebformName::formatHtmlItemValue in src/
Plugin/ WebformElement/ WebformName.php - Format composite element value into lines of text.
File
- src/
Plugin/ WebformElement/ WebformCompositeBase.php, line 624
Class
- WebformCompositeBase
- Provides a base for composite elements.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function formatHtmlItemValue(array $element, WebformSubmissionInterface $webform_submission, array $options = []) {
return $this
->formatCompositeHtmlItems($element, $webform_submission, $options);
}