SlickSkin.php in Slick Carousel 8.2
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\slickFile
src/SlickSkin.phpView source
<?php
namespace Drupal\slick;
use Drupal\Core\StringTranslation\StringTranslationTrait;
/**
* Provides deprecated skins.
*
* @todo deprecated at 8.x-2.0, and is removed from slick:8.x-3.0. Use
* Drupal\slick\SlickSkinPluginBase instead.
* @see https://www.drupal.org/node/3105648
*/
class SlickSkin implements SlickSkinInterface {
use StringTranslationTrait;
/**
* {@inheritdoc}
*/
public function skins() {
return \Drupal::service('slick.skin_manager')
->load('slick_skin')
->skins();
}
}