You are here

public function FormatterBase::setSetting in Blazy 7

File

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

Class

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

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

public function setSetting($key, $value) {
  $this->settings[$key] = $value;
  return $this;
}