You are here

class SlickExampleSkin in Slick extras 8

Same name in this branch
  1. 8 slick_example/src/SlickExampleSkin.php \Drupal\slick_example\SlickExampleSkin
  2. 8 slick_example/src/Plugin/slick/SlickExampleSkin.php \Drupal\slick_example\Plugin\slick\SlickExampleSkin
Same name and namespace in other branches
  1. 7.3 slick_example/src/SlickExampleSkin.php \Drupal\slick_example\SlickExampleSkin

Implements SlickSkinInterface as registered via hook_slick_skins_info().

@todo deprecate and remove at slick:9.x-1.0, not slick:8.x-3.0.

Hierarchy

Expanded class hierarchy of SlickExampleSkin

See also

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

File

slick_example/src/SlickExampleSkin.php, line 14

Namespace

Drupal\slick_example
View source
class SlickExampleSkin implements SlickSkinInterface {
  use StringTranslationTrait;
  use SlickExampleSkinTrait;

  /**
   * {@inheritdoc}
   */
  public function skins() {
    return $this
      ->definedSkins();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SlickExampleSkin::skins public function
SlickExampleSkinTrait::definedSkins protected function Sets the slick skins.
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.