You are here

public function FormatterBase::getSettings in Blazy 7

Gets formatter settings.

2 calls to FormatterBase::getSettings()
FormatterBase::getHtmlSettings in src/Plugin/Field/FieldFormatter/FormatterBase.php
Gets html settings.
FormatterBase::getScopedFormElements in src/Plugin/Field/FieldFormatter/FormatterBase.php
Defines the scope for the form elements.

File

src/Plugin/Field/FieldFormatter/FormatterBase.php, line 115

Class

FormatterBase
Base class for blazy/slick image, and file formatters.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function getSettings() {

  // Merge defaults before returning the array.
  if (!$this->defaultSettingsMerged) {
    $this
      ->mergeDefaults();
  }
  return $this->settings;
}