You are here

public function TMGMTTranslatorPluginControllerInterface::acceptetDataItem in Translation Management Tool 7

Accept a single data item.

@todo Using job item breaks the current convention which uses jobs.

Parameters

$job_item: The Job item the accepted data item belongs to.

$key: The key of the accepted data item. The key is an array containing the keys of a nested array hierarchy path.

Return value

TRUE if the approving was succesfull, FALSE otherwise. In case of an error, it is the responsibility of the translator to provide informations about the failure by adding a message to the job item.

1 method overrides TMGMTTranslatorPluginControllerInterface::acceptetDataItem()
TMGMTDefaultTranslatorPluginController::acceptetDataItem in plugin/tmgmt.plugin.translator.inc
Accept a single data item.

File

plugin/tmgmt.plugin.interface.translator.inc, line 233
Contains the source plugin interface.

Class

TMGMTTranslatorPluginControllerInterface
Interface for service plugin controllers.

Code

public function acceptetDataItem(TMGMTJobItem $job_item, array $key);