function cshs_config_schema_info_alter in Client-side Hierarchical Select 8.3
Same name and namespace in other branches
- 8 cshs.module \cshs_config_schema_info_alter()
- 8.2 cshs.module \cshs_config_schema_info_alter()
Implements hook_config_schema_info_alter().
@internal
File
- ./cshs.module, line 62 
- Client-side Hierarchical Select.
Code
function cshs_config_schema_info_alter(array &$definitions) : void {
  /* @noinspection AdditionOperationOnArraysInspection */
  $parent = $definitions['views.filter.' . CshsTaxonomyIndexTid::ID]['mapping'] += CshsTaxonomyIndexTid::getConfigSchema();
  // The `depth` plugin extends the default one and
  // the `taxonomy.views.schema.yml` does not define
  // the configuration the parent provides.
  /* @noinspection AdditionOperationOnArraysInspection */
  $definitions['views.filter.' . CshsTaxonomyIndexTidDepth::ID]['mapping'] += $parent + CshsTaxonomyIndexTidDepth::getConfigSchema();
}