You are here

public function SlickSkinTest::arrows in Slick Carousel 8

Same name and namespace in other branches
  1. 7.3 tests/modules/slick_test/src/SlickSkinTest.php \Drupal\slick_test\SlickSkinTest::arrows()

File

tests/modules/slick_test/src/SlickSkinTest.php, line 43

Class

SlickSkinTest
Implements SlickSkinInterface as registered via hook_slick_skins_info().

Namespace

Drupal\slick_test

Code

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