You are here

public function FormatterBase::buildSettingsSummary in Blazy 7

File

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

Class

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

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function buildSettingsSummary($view_mode) {
  $this->fieldDisplay = $this->fieldInstance['display'][$view_mode];
  $this->viewMode = $view_mode;
  $this
    ->setupFieldVariables();
  return $this
    ->settingsSummary($this
    ->getScopedFormElements());
}