public function SlickFileFormatter::getScopedFormElements in Slick Carousel 8.2
Same name and namespace in other branches
- 8 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 68
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,
] + $this
->getCommonScopedFormElements() + parent::getScopedFormElements();
}