public function WebformTable::getInfo in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Element/WebformTable.php \Drupal\webform\Element\WebformTable::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 Table::getInfo
File
- src/
Element/ WebformTable.php, line 18
Class
- WebformTable
- Provides a render element for webform table.
Namespace
Drupal\webform\ElementCode
public function getInfo() {
return parent::getInfo() + [
'#theme_wrappers' => [
'form_element',
],
];
}