class SlickSkin in Slick Carousel 8.2
Same name in this branch
- 8.2 src/SlickSkin.php \Drupal\slick\SlickSkin
- 8.2 src/Annotation/SlickSkin.php \Drupal\slick\Annotation\SlickSkin
- 8.2 src/Plugin/slick/SlickSkin.php \Drupal\slick\Plugin\slick\SlickSkin
Same name and namespace in other branches
- 8 src/SlickSkin.php \Drupal\slick\SlickSkin
- 7.3 src/SlickSkin.php \Drupal\slick\SlickSkin
Provides deprecated skins.
@todo deprecated at 8.x-2.0, and is removed from slick:8.x-3.0. Use Drupal\slick\SlickSkinPluginBase instead.
Hierarchy
- class \Drupal\slick\SlickSkin implements SlickSkinInterface uses StringTranslationTrait
Expanded class hierarchy of SlickSkin
See also
https://www.drupal.org/node/3105648
File
- src/
SlickSkin.php, line 14
Namespace
Drupal\slickView source
class SlickSkin implements SlickSkinInterface {
use StringTranslationTrait;
/**
* {@inheritdoc}
*/
public function skins() {
return \Drupal::service('slick.skin_manager')
->load('slick_skin')
->skins();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SlickSkin:: |
public | function | ||
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. |