You are here

public function TMGMTTranslatorPluginControllerInterface::escapeText in Translation Management Tool 7

Returns the escaped #text of a data item.

Parameters

array $data_item: A data item with a #text and optional #escape definitions.

Return value

string The text of the data item with translator-specific escape patterns applied.

1 method overrides TMGMTTranslatorPluginControllerInterface::escapeText()
TMGMTDefaultTranslatorPluginController::escapeText in plugin/tmgmt.plugin.translator.inc
Returns the escaped #text of a data item.

File

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

Class

TMGMTTranslatorPluginControllerInterface
Interface for service plugin controllers.

Code

public function escapeText(array $data_item);