You are here

public function BlazyFormatterTrait::getCommonScopedFormElements in Blazy 8.2

Defines the common scope for the form elements.

4 calls to BlazyFormatterTrait::getCommonScopedFormElements()
BlazyFileFormatterBase::getScopedFormElements in src/Plugin/Field/FieldFormatter/BlazyFileFormatterBase.php
Defines the scope for the form elements.
BlazyMediaFormatter::getScopedFormElements in src/Plugin/Field/FieldFormatter/BlazyMediaFormatter.php
Defines the scope for the form elements.
BlazyOEmbedFormatter::getScopedFormElements in src/Plugin/Field/FieldFormatter/BlazyOEmbedFormatter.php
BlazyTextFormatter::getScopedFormElements in src/Plugin/Field/FieldFormatter/BlazyTextFormatter.php
Defines the scope for the form elements.

File

src/Plugin/Field/FieldFormatter/BlazyFormatterTrait.php, line 108

Class

BlazyFormatterTrait
A Trait common for all blazy formatters.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function getCommonScopedFormElements() {
  return [
    'settings' => $this
      ->getSettings(),
  ] + $this
    ->getCommonFieldDefinition();
}