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