protected function WebformCustomComposite::buildCompositeElementsTable in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformElement/WebformCustomComposite.php \Drupal\webform\Plugin\WebformElement\WebformCustomComposite::buildCompositeElementsTable()
Build the composite elements settings table.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array A renderable array container the composite elements settings table.
Overrides WebformCompositeBase::buildCompositeElementsTable
File
- src/
Plugin/ WebformElement/ WebformCustomComposite.php, line 147
Class
- WebformCustomComposite
- Provides a custom composite element.
Namespace
Drupal\webform\Plugin\WebformElementCode
protected function buildCompositeElementsTable(array $form, FormStateInterface $form_state) {
return [
'#type' => 'webform_element_composite',
'#title' => $this
->t('Elements'),
'#title_display' => 'invisible',
];
}