- Issue created by @prudloff
Config files can declare dependencies on other configs.
For example a facet block from the facet module declares it depends on the facet config:
dependencies:
  config:
    - facets.facet.foo
This allows Drupal core to trigger an error when importing the block config if the facet does not exist.
The facets_block does not declare a dependency on facets it uses.
Create a block with facets_block.
It only has the following dependencies:
dependencies:
  module:
    - block_visibility_groups
    - facets_block
  theme:
    - front
Each facet that is enabled in the block should be added as a dependency.
Active
2.0
Code