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