You are here

public function SlickSkinManager::loadMultiple in Slick Carousel 8.2

1 call to SlickSkinManager::loadMultiple()
SlickSkinManager::getSkins in src/SlickSkinManager.php
Returns slick skins registered via SlickSkin plugin and or defaults.

File

src/SlickSkinManager.php, line 138

Class

SlickSkinManager
Provides Slick skin manager.

Namespace

Drupal\slick

Code

public function loadMultiple() {
  $skins = [];
  foreach ($this
    ->getDefinitions() as $definition) {
    array_push($skins, $this
      ->createInstance($definition['id']));
  }
  return $skins;
}