protected function TreeTable::defineOptions in Views tree 8.2
Information about options for all kinds of purposes will be held here.
'option_name' => array(
- 'default' => default value,
- 'contains' => (optional) array of items this contains, with its own
defaults, etc. If contains is set, the default will be ignored and
assumed to be array().
),
Return value
array Returns the options of this handler/plugin.
Overrides Table::defineOptions
File
- src/
Plugin/ views/ style/ TreeTable.php, line 29
Class
- TreeTable
- Defines a tree-based table display.
Namespace
Drupal\views_tree\Plugin\views\styleCode
protected function defineOptions() {
$options = parent::defineOptions();
$this
->defineCommonOptions($options);
$options['display_hierarchy_column'] = [
'default' => '',
];
return $options;
}