class SlickExampleSkin in Slick extras 7.3
Same name and namespace in other branches
- 8 slick_example/src/SlickExampleSkin.php \Drupal\slick_example\SlickExampleSkin
Implements SlickSkinInterface as registered via hook_slick_skins_info().
Hierarchy
- class \Drupal\slick_example\SlickExampleSkin implements SlickSkinInterface
Expanded class hierarchy of SlickExampleSkin
File
- slick_example/
src/ SlickExampleSkin.php, line 10
Namespace
Drupal\slick_exampleView source
class SlickExampleSkin implements SlickSkinInterface {
/**
* {@inheritdoc}
*/
public function skins() {
$path = drupal_get_path('module', 'slick_example');
$skins = [
'x_testimonial' => [
'name' => 'X: Testimonial',
'description' => t('Testimonial with thumbnail and description with slidesToShow 2.'),
'group' => 'main',
'provider' => 'slick_example',
'css' => [
$path . '/css/slick.theme--x-testimonial.css' => [],
],
],
];
return $skins;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SlickExampleSkin:: |
public | function |
Returns the Slick skins. Overrides SlickSkinInterface:: |