protected function BlazyUnitTestTrait::setFormatterSettings in Blazy 8.2
Same name and namespace in other branches
- 8 tests/src/Traits/BlazyUnitTestTrait.php \Drupal\Tests\blazy\Traits\BlazyUnitTestTrait::setFormatterSettings()
Sets formatter settings.
Parameters
array $settings: The given settings.
Return value
$this The class instance that this method is called on.
File
- tests/
src/ Traits/ BlazyUnitTestTrait.php, line 53
Class
- BlazyUnitTestTrait
- A Trait common for Blazy Unit tests.
Namespace
Drupal\Tests\blazy\TraitsCode
protected function setFormatterSettings(array $settings = []) {
$this->formatterSettings = array_merge($this
->getFormatterSettings(), $settings);
return $this;
}