- Issue created by @mogio_hh
- Status changed to Fixed
10 months ago 5:33pm 26 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Someone should really update the Drupal module page. I spend quite some time to find out the the old service caller is deprecated;
<?php
$site_settings = \Drupal::service('site_settings.loader');
?>
New seems to be:
$site_settings = \Drupal::service('plugin.manager.site_settings_loader')->getActiveLoaderPlugin();
Fixed
2.0
Documentation
Automatically closed - issue fixed for 2 weeks with no activity.