function ClientSideFilterTable::getInfo
Same name in other branches
- 5.x src/Element/ClientSideFilterTable.php \Drupal\devel\Element\ClientSideFilterTable::getInfo()
Overrides ElementInterface::getInfo
File
-
src/
Element/ ClientSideFilterTable.php, line 32
Class
- ClientSideFilterTable
- Provides a render element for filterable table data.
Namespace
Drupal\devel\ElementCode
public function getInfo() {
$class = get_class($this);
return [
'#filter_label' => $this->t('Search'),
'#filter_placeholder' => $this->t('Search'),
'#filter_description' => $this->t('Search'),
'#header' => [],
'#rows' => [],
'#empty' => '',
'#sticky' => FALSE,
'#responsive' => TRUE,
'#attributes' => [],
'#pre_render' => [
[
$class,
'preRenderTable',
],
],
];
}