You are here

public function BlazyFormatterBaseTrait::buildSettings in Blazy 8

Builds the settings.

1 call to BlazyFormatterBaseTrait::buildSettings()
BlazyVideoFormatter::viewElements in src/Plugin/Field/FieldFormatter/BlazyVideoFormatter.php
Builds a renderable array for a field value.
1 method overrides BlazyFormatterBaseTrait::buildSettings()
BlazyTestEntityReferenceFormatterTest::buildSettings in tests/modules/blazy_test/src/Plugin/Field/FieldFormatter/BlazyTestEntityReferenceFormatterTest.php
Builds the settings.

File

src/Plugin/Field/FieldFormatter/BlazyFormatterBaseTrait.php, line 27

Class

BlazyFormatterBaseTrait
A Trait common for blazy image, video and file ER formatters.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function buildSettings() {
  $settings = $this
    ->getSettings();
  $settings['plugin_id'] = $this
    ->getPluginId();
  return $settings;
}