public function TranslatorPluginInterface::escapeText

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 TranslatorPluginInterface::escapeText()
TranslatorPluginBase::escapeText in src/TranslatorPluginBase.php
Returns the escaped #text of a data item.

File

src/TranslatorPluginInterface.php, line 181

Class

TranslatorPluginInterface
Interface for service plugin controllers.

Namespace

Drupal\tmgmt

Code

public function escapeText(array $data_item);