public function WebformCompositeBase::getInfo in Webform 8.5
Same name and namespace in other branches
- 6.x src/Element/WebformCompositeBase.php \Drupal\webform\Element\WebformCompositeBase::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 ElementInterface::getInfo
7 calls to WebformCompositeBase::getInfo()
- WebformAddress::getInfo in src/
Element/ WebformAddress.php - Returns the element properties for this element.
- WebformContact::getInfo in src/
Element/ WebformContact.php - Returns the element properties for this element.
- WebformExampleComposite::getInfo in modules/
webform_example_composite/ src/ Element/ WebformExampleComposite.php - Returns the element properties for this element.
- WebformLink::getInfo in src/
Element/ WebformLink.php - Returns the element properties for this element.
- WebformLocationBase::getInfo in src/
Element/ WebformLocationBase.php - Returns the element properties for this element.
7 methods override WebformCompositeBase::getInfo()
- WebformAddress::getInfo in src/
Element/ WebformAddress.php - Returns the element properties for this element.
- WebformContact::getInfo in src/
Element/ WebformContact.php - Returns the element properties for this element.
- WebformExampleComposite::getInfo in modules/
webform_example_composite/ src/ Element/ WebformExampleComposite.php - Returns the element properties for this element.
- WebformLink::getInfo in src/
Element/ WebformLink.php - Returns the element properties for this element.
- WebformLocationBase::getInfo in src/
Element/ WebformLocationBase.php - Returns the element properties for this element.
File
- src/
Element/ WebformCompositeBase.php, line 21
Class
- WebformCompositeBase
- Provides an base composite webform element.
Namespace
Drupal\webform\ElementCode
public function getInfo() {
$class = get_class($this);
return [
'#input' => TRUE,
'#access' => TRUE,
'#process' => [
[
$class,
'processWebformComposite',
],
[
$class,
'processAjaxForm',
],
],
'#pre_render' => [
[
$class,
'preRenderWebformCompositeFormElement',
],
],
'#title_display' => 'invisible',
'#required' => FALSE,
'#flexbox' => TRUE,
];
}