You are here

public function SlickManager::getSkins in Slick Carousel 8

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

Returns slick skins registered via hook_slick_skins_info(), or defaults.

See also

\Drupal\blazy\BlazyManagerBase::buildSkins()

File

src/SlickManager.php, line 51

Class

SlickManager
Implements BlazyManagerInterface, SlickManagerInterface.

Namespace

Drupal\slick

Code

public function getSkins() {
  if (!isset($this->skinDefinition)) {
    $methods = [
      'skins',
      'arrows',
      'dots',
    ];
    $this->skinDefinition = $this
      ->buildSkins('slick', '\\Drupal\\slick\\SlickSkin', $methods);
  }
  return $this->skinDefinition;
}