You are here

protected function SlickSkinTest::setDots in Slick Carousel 8.2

Sets the slick dots skins.

@inheritdoc

Overrides SlickSkinPluginBase::setDots

File

tests/modules/slick_test/src/Plugin/slick/SlickSkinTest.php, line 76

Class

SlickSkinTest
Provides slick skin tests.

Namespace

Drupal\slick_test\Plugin\slick

Code

protected function setDots() {
  $path = base_path() . drupal_get_path('module', 'slick_test');
  $skins = [
    'dots' => [
      'name' => 'Dots',
      'description' => $this
        ->t('Test slick dots.'),
      'provider' => 'slick_test',
      'group' => 'dots',
      'css' => [
        'theme' => [
          $path . '/css/slick.theme--dots.css' => [],
        ],
      ],
    ],
  ];
  return $skins;
}