You are here

public function BlazyOEmbedFormatter::getScopedFormElements in Blazy 8.2

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

File

src/Plugin/Field/FieldFormatter/BlazyOEmbedFormatter.php, line 120

Class

BlazyOEmbedFormatter
Plugin for blazy oembed formatter.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function getScopedFormElements() {
  return [
    'background' => TRUE,
    'media_switch_form' => TRUE,
    'multimedia' => TRUE,
    'responsive_image' => FALSE,
  ] + $this
    ->getCommonScopedFormElements();
}