public function SlickFileFormatterBase::getScopedFormElements in Slick Carousel 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/SlickFileFormatterBase.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFileFormatterBase::getScopedFormElements()
1 call to SlickFileFormatterBase::getScopedFormElements()
- SlickFileFormatter::getScopedFormElements in src/
Plugin/ Field/ FieldFormatter/ SlickFileFormatter.php
1 method overrides SlickFileFormatterBase::getScopedFormElements()
- SlickFileFormatter::getScopedFormElements in src/
Plugin/ Field/ FieldFormatter/ SlickFileFormatter.php
File
- src/
Plugin/ Field/ FieldFormatter/ SlickFileFormatterBase.php, line 142
Class
- SlickFileFormatterBase
- Base class for slick image and file ER formatters.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
public function getScopedFormElements() {
return [
'namespace' => 'slick',
'nav' => TRUE,
'thumb_captions' => [
'title' => $this
->t('Title'),
'alt' => $this
->t('Alt'),
],
'thumb_positions' => TRUE,
] + parent::getScopedFormElements();
}