Open insanetron75 opened 5 years ago
This issue should be fixed in the latest stable version
If this is still present, feel free to reopen this issue
Can you provide a PR @p1nGgeR ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The
sonata-block.yml
config file is only reading thedefault_contexts
no other configuration is being read.Environment
Sonata packages
Symfony packages
PHP version
Subject
When I call
$blockService->getServicesByContext('block')
in myBlockAdminController
I get every block, if I dump$this->contexts
in theBlockServiceManager
every block has both page and block contexts. If I removedefault_contexts
I don't get anything returned. If I removed theblocks:
section but leave thedefault_contexts
in every block is still returned. I have looked to see if there is maybe anothersonata_block
config section but there isn'tsonata_block.yml: