public static function CshsTaxonomyIndex::getConfigSchema in Client-side Hierarchical Select 8
Same name and namespace in other branches
- 8.3 src/Plugin/views/filter/CshsTaxonomyIndex.php \Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex::getConfigSchema()
- 8.2 src/Plugin/views/filter/CshsTaxonomyIndex.php \Drupal\cshs\Plugin\views\filter\CshsTaxonomyIndex::getConfigSchema()
Returns the views filter configuration schema.
Return value
array The config schema, provided in addition to the parent implementation.
See also
\cshs_config_schema_info_alter()
File
- src/
Plugin/ views/ filter/ CshsTaxonomyIndex.php, line 143
Class
- CshsTaxonomyIndex
- Common implementation for "CshsTaxonomyIndex" plugin.
Namespace
Drupal\cshs\Plugin\views\filterCode
public static function getConfigSchema() : array {
return [
'save_lineage' => [
'type' => 'boolean',
'label' => 'Save lineage',
],
'force_deepest' => [
'type' => 'boolean',
'label' => 'Force selection of deepest level',
],
'parent' => [
'type' => 'integer',
'label' => 'Parent',
],
'level_labels' => [
'type' => 'string',
'label' => 'Labels per hierarchy-level',
],
'hierarchy_depth' => [
'type' => 'integer',
'label' => 'Hierarchy depth',
],
'required_depth' => [
'type' => 'integer',
'label' => 'Required depth',
],
];
}