public function SlickFileFormatter::getScopedFormElements in Slick Carousel 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/SlickFileFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFileFormatter::getScopedFormElements()
- 7.3 src/Plugin/Field/FieldFormatter/SlickFileFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFileFormatter::getScopedFormElements()
Overrides SlickFileFormatterBase::getScopedFormElements
File
- src/
Plugin/ Field/ FieldFormatter/ SlickFileFormatter.php, line 28
Class
- SlickFileFormatter
- Plugin implementation of the 'Slick File' formatter to get ME within images.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
public function getScopedFormElements() {
return [
'fieldable_form' => TRUE,
'multimedia' => TRUE,
'view_mode' => $this->viewMode,
] + parent::getScopedFormElements();
}