You are here

public function JobItemInterface::updateData in Translation Management Tool 8

Updates the values for a specific substructure in the data array.

The values are either set or updated but never deleted.

Parameters

string|array $key: Key pointing to the item the values should be applied. The key can be either be an array containing the keys of a nested array hierarchy path or a string with '][' or '|' as delimiter.

array $values: Nested array of values to set.

bool $replace: (optional) When TRUE, replaces the structure at the provided key instead of writing into it.

1 method overrides JobItemInterface::updateData()
JobItem::updateData in src/Entity/JobItem.php
Updates the values for a specific substructure in the data array.

File

src/JobItemInterface.php, line 400

Class

JobItemInterface
Interface for tmgmt_job_item entity.

Namespace

Drupal\tmgmt

Code

public function updateData($key, $values = array(), $replace = FALSE);