public function TMGMTTranslatorRejectDataItem::rejectDataItem in Translation Management Tool 7
Reject one single data item.
@todo Using job item breaks the current convention which uses jobs.
Parameters
$job_item: The job item to which the rejected data item belongs.
$key: The key of the rejected data item. The key is an array containing the keys of a nested array hierarchy path.
Return value
TRUE if the reject was succesfull, else FALSE. In case of an error, it is the responsibility of the translator to provide informations about the faliure.
1 method overrides TMGMTTranslatorRejectDataItem::rejectDataItem()
- TMGMTTestTranslatorPluginController::rejectDataItem in tests/
tmgmt_test.plugin.translator.inc - Reject one single data item.
File
- plugin/
tmgmt.plugin.interface.reject.inc, line 34 - Contains the reject translator plugin interface.
Class
- TMGMTTranslatorRejectDataItem
- Handle reject on data item level.
Code
public function rejectDataItem(TMGMTJobItem $job_item, array $key, array $values = NULL);