public function GridStackFileFormatter::getScopedFormElements in GridStack 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/GridStackFileFormatter.php \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackFileFormatter::getScopedFormElements()
Overrides GridStackFileFormatterBase::getScopedFormElements
File
- src/
Plugin/ Field/ FieldFormatter/ GridStackFileFormatter.php, line 44
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,
] + $this
->getCommonScopedFormElements() + parent::getScopedFormElements();
}