You are here

public function JobItemInterface::addRemoteMapping in Translation Management Tool 8

Adds remote mapping entity to this job item.

Parameters

string $data_item_key: Job data item key.

int $remote_identifier_1: Array of remote identifiers. In case you need to save remote_identifier_2/3 set it into $mapping_data argument.

array $mapping_data: Additional data to be added.

Return value

int|bool Returns either the integer or boolean.

Throws

TMGMTException Throws an exception.

1 method overrides JobItemInterface::addRemoteMapping()
JobItem::addRemoteMapping in src/Entity/JobItem.php
Adds remote mapping entity to this job item.

File

src/JobItemInterface.php, line 514

Class

JobItemInterface
Interface for tmgmt_job_item entity.

Namespace

Drupal\tmgmt

Code

public function addRemoteMapping($data_item_key = NULL, $remote_identifier_1 = NULL, $mapping_data = array());