Mercurial > hg > isophonics-drupal-site
comparison modules/contrib/views_slideshow/src/ViewsSlideshowSkinBase.php @ 5:c69a71b4f40f
Add slideshow module
author | Chris Cannam |
---|---|
date | Thu, 07 Dec 2017 14:46:23 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:8948ab6c87d2 | 5:c69a71b4f40f |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\views_slideshow; | |
4 | |
5 use Drupal\Component\Plugin\PluginBase; | |
6 | |
7 /** | |
8 * Provides basic functionality for Views slideshow skins. | |
9 */ | |
10 abstract class ViewsSlideshowSkinBase extends PluginBase implements ViewsSlideshowSkinInterface { | |
11 | |
12 /** | |
13 * {@inheritdoc} | |
14 */ | |
15 public function getLabel() { | |
16 return $this->pluginDefinition['label']; | |
17 } | |
18 | |
19 /** | |
20 * {@inheritdoc} | |
21 */ | |
22 public function getClass() { | |
23 return $this->pluginDefinition['id']; | |
24 } | |
25 | |
26 /** | |
27 * {@inheritdoc} | |
28 */ | |
29 public function getLibraries() { | |
30 return $this->pluginDefinition['libraries']; | |
31 } | |
32 | |
33 } |