protected function BlazyUnitTestTrait::setFormatterSetting in Blazy 8.2
Same name and namespace in other branches
- 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\TraitsCode
protected function setFormatterSetting($setting, $value) {
$this->formatterSettings[$setting] = $value;
return $this;
}