abstract protected function SlickFormatterBase::getCaption in Slick Carousel 7.3
Build caption element if so configured can be used for thumbnail caption.
1 call to SlickFormatterBase::getCaption()
- SlickFormatterBase::buildElements in src/
Plugin/ Field/ FieldFormatter/ SlickFormatterBase.php - Build the slick carousel elements.
2 methods override SlickFormatterBase::getCaption()
- SlickFileFormatter::getCaption in src/
Plugin/ Field/ FieldFormatter/ SlickFileFormatter.php - Build caption element if so configured can be used for thumbnail caption.
- SlickImageFormatter::getCaption in src/
Plugin/ Field/ FieldFormatter/ SlickImageFormatter.php - Build caption element if so configured can be used for thumbnail caption.
File
- src/
Plugin/ Field/ FieldFormatter/ SlickFormatterBase.php, line 69
Class
- SlickFormatterBase
- Base class for slick image and file entity (Media) formatters.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
protected abstract function getCaption($entity, $field_name, $settings);