You are here

public function BlazyTextFormatter::getScopedFormElements in Blazy 8.2

Same name and namespace in other branches
  1. 7 src/Plugin/Field/FieldFormatter/BlazyTextFormatter.php \Drupal\blazy\Plugin\Field\FieldFormatter\BlazyTextFormatter::getScopedFormElements()

Defines the scope for the form elements.

1 call to BlazyTextFormatter::getScopedFormElements()
BlazyTextFormatter::settingsForm in src/Plugin/Field/FieldFormatter/BlazyTextFormatter.php
Returns a form to configure settings for the formatter.

File

src/Plugin/Field/FieldFormatter/BlazyTextFormatter.php, line 93

Class

BlazyTextFormatter
Plugin implementation of the 'Blazy Grid Text' formatter.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

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