public function WebformComputedTwig::getInfo in Webform 8.5
Same name and namespace in other branches
- 6.x src/Element/WebformComputedTwig.php \Drupal\webform\Element\WebformComputedTwig::getInfo()
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides WebformComputedBase::getInfo
File
- src/
Element/ WebformComputedTwig.php, line 32
Class
- WebformComputedTwig
- Provides an item to display computed webform submission values using Twig.
Namespace
Drupal\webform\ElementCode
public function getInfo() {
return parent::getInfo() + [
'#whitespace' => '',
];
}