You are here

public function SlickManager::config in Slick Carousel 7.3

Returns any config, or keyed by the $key.

@todo use D8 approach for this.

Overrides BlazyManagerBase::config

1 call to SlickManager::config()
SlickManager::attachSkin in src/SlickManager.php
Provides skins only if required.

File

src/SlickManager.php, line 60

Class

SlickManager
Implements SlickManagerInterface.

Namespace

Drupal\slick

Code

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