You are here

public function BlazyManager::config in Blazy 7

Returns any config, or keyed by the $key.

@todo use D8 approach for this.

Overrides BlazyManagerBase::config

1 call to BlazyManager::config()
BlazyFormatter::buildSettings in src/BlazyFormatter.php

File

src/BlazyManager.php, line 17

Class

BlazyManager
Implements a public facing blazy manager.

Namespace

Drupal\blazy

Code

public function config($key = '', $default = NULL, $id = 'blazy.settings', array $defaults = []) {
  return parent::config($key, $default, $id, $id == 'blazy.settings' ? BlazyDefault::formSettings() : $defaults);
}