You are here

public function GridStackFormatterTrait::buildSettings in GridStack 8.2

Builds the settings.

1 call to GridStackFormatterTrait::buildSettings()
GridStackEntityFormatterBase::buildSettings in src/Plugin/Field/FieldFormatter/GridStackEntityFormatterBase.php
Builds the settings.

File

src/Plugin/Field/FieldFormatter/GridStackFormatterTrait.php, line 99

Class

GridStackFormatterTrait
A Trait common for gridstack formatters.

Namespace

Drupal\gridstack\Plugin\Field\FieldFormatter

Code

public function buildSettings() {
  $settings = array_merge($this
    ->getCommonFieldDefinition(), $this
    ->getSettings());
  $settings['blazy'] = TRUE;
  $settings['third_party'] = $this
    ->getThirdPartySettings();
  return $settings;
}