You are here

public function GridStackFileFormatterBase::getScopedFormElements in GridStack 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldFormatter/GridStackFileFormatterBase.php \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackFileFormatterBase::getScopedFormElements()
1 call to GridStackFileFormatterBase::getScopedFormElements()
GridStackFileFormatter::getScopedFormElements in src/Plugin/Field/FieldFormatter/GridStackFileFormatter.php
1 method overrides GridStackFileFormatterBase::getScopedFormElements()
GridStackFileFormatter::getScopedFormElements in src/Plugin/Field/FieldFormatter/GridStackFileFormatter.php

File

src/Plugin/Field/FieldFormatter/GridStackFileFormatterBase.php, line 89

Class

GridStackFileFormatterBase
Base class for gridstack image and file ER formatters.

Namespace

Drupal\gridstack\Plugin\Field\FieldFormatter

Code

public function getScopedFormElements() {
  return [
    'background' => TRUE,
    'no_ratio' => TRUE,
    'responsive_image' => TRUE,
  ] + $this
    ->getCommonScopedFormElements() + parent::getScopedFormElements();
}