You are here

protected function BlazyUnitTestTrait::setFormatterSetting in Blazy 8.2

Same name and namespace in other branches
  1. 8 tests/src/Traits/BlazyUnitTestTrait.php \Drupal\Tests\blazy\Traits\BlazyUnitTestTrait::setFormatterSetting()

Sets formatter setting.

Parameters

string $setting: The given setting.

mixed|bool|string $value: The given value.

Return value

$this The class instance that this method is called on.

File

tests/src/Traits/BlazyUnitTestTrait.php, line 69

Class

BlazyUnitTestTrait
A Trait common for Blazy Unit tests.

Namespace

Drupal\Tests\blazy\Traits

Code

protected function setFormatterSetting($setting, $value) {
  $this->formatterSettings[$setting] = $value;
  return $this;
}