Skip to content

Commit

Permalink
IBX-1696: Rebranded Container parameters and Config Resolver namespac…
Browse files Browse the repository at this point in the history
…es (#27)

Rebranded service container parameter names and Ibexa Config Resolver namespaces to follow unified pattern.

See https://issues.ibexa.co/browse/IBX-1696 for more details.
  • Loading branch information
alongosz authored Feb 1, 2022
1 parent 554e870 commit 6342a54
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function load(array $configs, ContainerBuilder $container)

if (isset($config['system_info']) && $config['system_info']['powered_by']['enabled']) {
$container->setParameter(
'ezplatform_support_tools.system_info.powered_by.name',
'ibexa.system_info.powered_by.name',
$this->getPoweredByName(
$container,
$config['system_info']['powered_by']['release']
Expand Down
4 changes: 2 additions & 2 deletions src/bundle/Resources/config/default_settings.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
ezsettings.default.system_info_view: {}
ezsettings.global.system_info_view:
ibexa.site_access.config.default.system_info_view: {}
ibexa.site_access.config.global.system_info_view:
pjax_tab:
ibexa:
template: '@@ibexadesign/system_info/my_ibexa.html.twig'
Expand Down
6 changes: 3 additions & 3 deletions src/bundle/Resources/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ imports:
- { resource: events.yaml }

parameters:
ezplatform_support_tools.system_info.powered_by.name: ''
ibexa.system_info.powered_by.name: ''
ibexa.system_info.ibexa_url_list:
contact: "https://www.ibexa.co/about-ibexa/contact-us"
license: "https://www.ibexa.co/software-information/licenses-and-agreements"
Expand All @@ -20,12 +20,12 @@ parameters:
update: "https://doc.ibexa.co/en/latest/updating/updating_ez_platform/"
gpl_faq: "https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html#GPLModuleLicense"
support: "https://support.ibexa.co"
support_tools.ez_url_list: '%ibexa.system_info.ibexa_url_list%' # BC
ibexa.system_info.url_list: '%ibexa.system_info.ibexa_url_list%' # BC

services:
# EventSubscriber
Ibexa\Bundle\SystemInfo\EventSubscriber\AddXPoweredByHeader:
arguments: ["%ezplatform_support_tools.system_info.powered_by.name%"]
arguments: ['%ibexa.system_info.powered_by.name%']
tags:
- { name: kernel.event_subscriber }

Expand Down

0 comments on commit 6342a54

Please sign in to comment.