Same name in other branches
- 5.0.x src/ViewsSlideshowSkinBase.php \Drupal\views_slideshow\ViewsSlideshowSkinBase
Provides basic functionality for Views slideshow skins.
Hierarchy
- class \Drupal\views_slideshow\ViewsSlideshowSkinBase extends \Drupal\Component\Plugin\PluginBase implements \Drupal\views_slideshow\ViewsSlideshowSkinInterface
Expanded class hierarchy of ViewsSlideshowSkinBase
1 file declares its use of ViewsSlideshowSkinBase
- DefaultSkin.php in src/
Plugin/ ViewsSlideshowSkin/ DefaultSkin.php
File
-
src/
ViewsSlideshowSkinBase.php, line 10
Namespace
Drupal\views_slideshowView source
abstract class ViewsSlideshowSkinBase extends PluginBase implements ViewsSlideshowSkinInterface {
/**
* {@inheritdoc}
*/
public function getLabel() {
return $this->pluginDefinition['label'];
}
/**
* {@inheritdoc}
*/
public function getClass() {
return $this->pluginDefinition['id'];
}
/**
* {@inheritdoc}
*/
public function getLibraries() {
return $this->pluginDefinition['libraries'];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
ViewsSlideshowSkinBase::getClass | public | function | Returns a class to be added to templates. | Overrides ViewsSlideshowSkinInterface::getClass |
ViewsSlideshowSkinBase::getLabel | public | function | ||
ViewsSlideshowSkinBase::getLibraries | public | function | Returns a array of libraries to attach when the skin is used. | Overrides ViewsSlideshowSkinInterface::getLibraries |