You are here

public function EntityHelper::setValue in Feeds Paragraphs 8

Attach value to a field

Parameters

string $field: The field.

mixed $value: The value.

File

tests/src/Unit/Helpers/EntityHelper.php, line 208

Class

EntityHelper

Namespace

Drupal\Tests\feeds_para_mapper\Unit\Helpers

Code

public function setValue($field, $value) {
  $this->values[$field] = $value;
}