public function GridStackFileFormatterBase::getScopedFormElements in GridStack 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/GridStackFileFormatterBase.php \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackFileFormatterBase::getScopedFormElements()
1 call to GridStackFileFormatterBase::getScopedFormElements()
- GridStackFileFormatter::getScopedFormElements in src/
Plugin/ Field/ FieldFormatter/ GridStackFileFormatter.php
1 method overrides GridStackFileFormatterBase::getScopedFormElements()
- GridStackFileFormatter::getScopedFormElements in src/
Plugin/ Field/ FieldFormatter/ GridStackFileFormatter.php
File
- src/
Plugin/ Field/ FieldFormatter/ GridStackFileFormatterBase.php, line 172
Class
- GridStackFileFormatterBase
- Base class for gridstack image and file ER formatters.
Namespace
Drupal\gridstack\Plugin\Field\FieldFormatterCode
public function getScopedFormElements() {
$scopes = [
'background' => TRUE,
'breakpoints' => FALSE,
'namespace' => 'gridstack',
'no_ratio' => TRUE,
'id' => FALSE,
];
return $scopes + parent::getScopedFormElements();
}