You are here

public function SlickTextFormatter::getScopedFormElements in Slick Carousel 8.2

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

Class

SlickTextFormatter
Plugin implementation of the 'Slick Text' formatter.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

public function getScopedFormElements() {
  return [
    'grid_form' => TRUE,
    'no_image_style' => TRUE,
    'no_layouts' => TRUE,
    'responsive_image' => FALSE,
    'style' => TRUE,
  ] + $this
    ->getCommonScopedFormElements();
}