You are here

public function SlickFormatterBase::getScopedFormElements in Slick Carousel 7.3

Defines the scope for the form elements.

Overrides BlazyFormatterBase::getScopedFormElements

1 call to SlickFormatterBase::getScopedFormElements()
SlickFileFormatter::getScopedFormElements in src/Plugin/Field/FieldFormatter/SlickFileFormatter.php
Defines the scope for the form elements.
1 method overrides SlickFormatterBase::getScopedFormElements()
SlickFileFormatter::getScopedFormElements in src/Plugin/Field/FieldFormatter/SlickFileFormatter.php
Defines the scope for the form elements.

File

src/Plugin/Field/FieldFormatter/SlickFormatterBase.php, line 74

Class

SlickFormatterBase
Base class for slick image and file entity (Media) formatters.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

public function getScopedFormElements() {
  return [
    'namespace' => 'slick',
    'nav' => TRUE,
    'thumb_captions' => [
      'title' => t('Title'),
      'alt' => t('Alt'),
    ],
    'thumb_positions' => TRUE,
  ] + parent::getScopedFormElements();
}