You are here

public function SlickTextFormatter::getScopedFormElements in Slick Carousel 7.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/SlickTextFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickTextFormatter::getScopedFormElements()
  2. 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\FieldFormatter

Code

public function getScopedFormElements() {
  return [
    'no_image_style' => TRUE,
    'no_layouts' => TRUE,
    'responsive_image' => FALSE,
    'style' => TRUE,
  ] + parent::getScopedFormElements();
}