You are here

class SlickSkin in Slick Carousel 8.2

Same name in this branch
  1. 8.2 src/SlickSkin.php \Drupal\slick\SlickSkin
  2. 8.2 src/Annotation/SlickSkin.php \Drupal\slick\Annotation\SlickSkin
  3. 8.2 src/Plugin/slick/SlickSkin.php \Drupal\slick\Plugin\slick\SlickSkin
Same name and namespace in other branches
  1. 8 src/SlickSkin.php \Drupal\slick\SlickSkin
  2. 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

Expanded class hierarchy of SlickSkin

See also

https://www.drupal.org/node/3105648

File

src/SlickSkin.php, line 14

Namespace

Drupal\slick
View source
class SlickSkin implements SlickSkinInterface {
  use StringTranslationTrait;

  /**
   * {@inheritdoc}
   */
  public function skins() {
    return \Drupal::service('slick.skin_manager')
      ->load('slick_skin')
      ->skins();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SlickSkin::skins public function
StringTranslationTrait::$stringTranslation protected property The string translation service. 1
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.