public function SlickTextFormatter::getScopedFormElements in Slick Carousel 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/SlickTextFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickTextFormatter::getScopedFormElements()
- 7.3 src/Plugin/Field/FieldFormatter/SlickTextFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickTextFormatter::getScopedFormElements()
Defines the scope for the form elements.
1 call to SlickTextFormatter::getScopedFormElements()
- SlickTextFormatter::settingsForm in src/
Plugin/ Field/ FieldFormatter/ SlickTextFormatter.php - Returns a form to configure settings for the formatter.
File
- src/
Plugin/ Field/ FieldFormatter/ SlickTextFormatter.php, line 112
Class
- SlickTextFormatter
- Plugin implementation of the 'Slick Text' formatter.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
public function getScopedFormElements() {
return [
'current_view_mode' => $this->viewMode,
'no_layouts' => TRUE,
'plugin_id' => $this
->getPluginId(),
'settings' => $this
->getSettings(),
];
}