public function BlazyFileFormatter::getScopedFormElements in Blazy 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/BlazyFileFormatter.php \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyFileFormatter::getScopedFormElements()
- 7 src/Plugin/Field/FieldFormatter/BlazyFileFormatter.php \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyFileFormatter::getScopedFormElements()
Defines the scope for the form elements.
Overrides BlazyFileFormatterBase::getScopedFormElements
File
- src/
Plugin/ Field/ FieldFormatter/ BlazyFileFormatter.php, line 45
Class
- BlazyFileFormatter
- Plugin implementation of the 'Blazy File' to get VEF/VEM within images/files.
Namespace
Drupal\blazy\Plugin\Field\FieldFormatterCode
public function getScopedFormElements() {
return [
'fieldable_form' => TRUE,
'multimedia' => TRUE,
'view_mode' => $this->viewMode,
] + parent::getScopedFormElements();
}