public function SlickTextFormatter::getScopedFormElements in Slick Carousel 7.3
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/SlickTextFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickTextFormatter::getScopedFormElements()
- 8 src/Plugin/Field/FieldFormatter/SlickTextFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickTextFormatter::getScopedFormElements()
Defines the scope for the form elements.
Overrides FormatterBase::getScopedFormElements
File
- src/
Plugin/ Field/ FieldFormatter/ SlickTextFormatter.php, line 107
Class
- SlickTextFormatter
- Plugin implementation of the 'Slick Text' formatter.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
public function getScopedFormElements() {
return [
'no_image_style' => TRUE,
'no_layouts' => TRUE,
'responsive_image' => FALSE,
'style' => TRUE,
] + parent::getScopedFormElements();
}