You are here

public function SlickManager::attachSkin in Slick Carousel 8.2

Same name and namespace in other branches
  1. 8 src/SlickManager.php \Drupal\slick\SlickManager::attachSkin()
  2. 7.3 src/SlickManager.php \Drupal\slick\SlickManager::attachSkin()

Provides a shortcut to attach skins only if required.

File

src/SlickManager.php, line 365

Class

SlickManager
Implements BlazyManagerInterface, SlickManagerInterface.

Namespace

Drupal\slick

Code

public function attachSkin(array &$load, $attach = []) {
  $this->skinManager
    ->attachSkin($load, $attach);
}