You are here

public static function Blazy::getConfig in Blazy 8

Return blazy global config.

Deprecated

in blazy:8.x-1.0 and is removed from blazy:8.x-2.0. Use \Drupal\blazy\BlazyManager::configLoad() instead.

See also

https://www.drupal.org/node/3103018

File

src/Blazy.php, line 505

Class

Blazy
Implements BlazyInterface.

Namespace

Drupal\blazy

Code

public static function getConfig($setting_name = '', $settings = 'blazy.settings') {
  return \Drupal::service('blazy.manager')
    ->configLoad($setting_name, $settings);
}