You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
symfony/http-client v4.3.5 v4.3.5 Symfony HttpClient component
symfony/http-client-contracts v1.1.7 v1.1.7 Generic abstractions related to HTTP clients
symfony/mime v4.3.5 v4.3.5 A library to manipulate MIME messages
symfony/monolog-bundle v3.4.0 v3.4.0 Symfony MonologBundle
symfony/polyfill-apcu v1.12.0 v1.12.0 Symfony polyfill backporting apcu_* functions to lower PHP versions
symfony/polyfill-ctype v1.12.0 v1.12.0 Symfony polyfill for ctype functions
symfony/polyfill-iconv v1.12.0 v1.12.0 Symfony polyfill for the Iconv extension
symfony/polyfill-intl-icu v1.12.0 v1.12.0 Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-intl-idn v1.12.0 v1.12.0 Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-mbstring v1.12.0 v1.12.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php56 v1.12.0 v1.12.0 Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions
symfony/polyfill-php70 v1.12.0 v1.12.0 Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/polyfill-php72 v1.12.0 v1.12.0 Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/polyfill-php73 v1.12.0 v1.12.0 Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions
symfony/polyfill-util v1.12.0 v1.12.0 Symfony utilities for portability of PHP codes
symfony/security-acl v3.0.2 v3.0.2 Symfony Security Component - ACL (Access Control List)
symfony/swiftmailer-bundle v3.2.6 v3.2.8 Symfony SwiftmailerBundle
symfony/symfony v3.4.32 v4.3.5 The Symfony PHP framework
PHP version
7.1
Subject
When I call $blockService->getServicesByContext('block') in my BlockAdminController I get every block, if I dump $this->contexts in the BlockServiceManager every block has both page and block contexts. If I remove default_contexts I don't get anything returned. If I removed the blocks: section but leave the default_contexts in every block is still returned. I have looked to see if there is maybe another sonata_block config section but there isn't
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:
The text was updated successfully, but these errors were encountered: