public function TemplateCollectionList::getInfo in Courier 8
Same name and namespace in other branches
- 2.x src/Element/TemplateCollectionList.php \Drupal\courier\Element\TemplateCollectionList::getInfo()
@inheritDoc
Overrides ElementInterface::getInfo
File
- src/
Element/ TemplateCollectionList.php, line 23
Class
- TemplateCollectionList
- Provides a template collection list element.
Namespace
Drupal\courier\ElementCode
public function getInfo() {
$class = get_class($this);
return [
'#input' => TRUE,
'#process' => [
[
$class,
'processTemplateCollectionList',
],
],
// Items can be any non-zero key. Forms will return this key for keys of
// checkboxes in $form_element['checkboxes'].
'#items' => [],
'#checkboxes' => FALSE,
'#attributes' => [],
'#value' => NULL,
];
}