public function FieldSlideshowPagerPluginBase::label in Field Slideshow 8.3
Returns the translated plugin label.
Return value
string The translated title.
Overrides FieldSlideshowPagerInterface::label
File
- src/
FieldSlideshowPagerPluginBase.php, line 16
Class
- FieldSlideshowPagerPluginBase
- Base class for field_slideshow_pager plugins.
Namespace
Drupal\field_slideshowCode
public function label() {
// Cast the label to a string since it is a TranslatableMarkup object.
return (string) $this->pluginDefinition['label'];
}