abstract class FieldSlideshowPagerPluginBase in Field Slideshow 8.3
Base class for field_slideshow_pager plugins.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterface
- class \Drupal\field_slideshow\FieldSlideshowPagerPluginBase implements FieldSlideshowPagerInterface
Expanded class hierarchy of FieldSlideshowPagerPluginBase
2 files declare their use of FieldSlideshowPagerPluginBase
- Counter.php in src/
Plugin/ FieldSlideshowPager/ Counter.php - Thumbnails.php in src/
Plugin/ FieldSlideshowPager/ Thumbnails.php
File
- src/
FieldSlideshowPagerPluginBase.php, line 11
Namespace
Drupal\field_slideshowView source
abstract class FieldSlideshowPagerPluginBase extends PluginBase implements FieldSlideshowPagerInterface {
/**
* {@inheritdoc}
*/
public function label() {
// Cast the label to a string since it is a TranslatableMarkup object.
return (string) $this->pluginDefinition['label'];
}
/**
* Function render pager.
*
* @param \Drupal\Core\Field\FieldItemListInterface $items
* List of items.
*
* @return array
* Rendered array.
*/
public abstract function viewPager(FieldItemListInterface $items);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FieldSlideshowPagerPluginBase:: |
public | function |
Returns the translated plugin label. Overrides FieldSlideshowPagerInterface:: |
|
FieldSlideshowPagerPluginBase:: |
abstract public | function | Function render pager. | 2 |
PluginBase:: |
protected | property | Configuration information passed into the plugin. | 1 |
PluginBase:: |
protected | property | The plugin implementation definition. | 1 |
PluginBase:: |
protected | property | The plugin_id. | |
PluginBase:: |
constant | A string which is used to separate base plugin IDs from the derivative ID. | ||
PluginBase:: |
public | function |
Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface:: |
|
PluginBase:: |
public | function |
Gets the definition of the plugin implementation. Overrides PluginInspectionInterface:: |
3 |
PluginBase:: |
public | function |
Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface:: |
|
PluginBase:: |
public | function | Determines if the plugin is configurable. | |
PluginBase:: |
public | function | Constructs a \Drupal\Component\Plugin\PluginBase object. | 92 |