You are here

function hook_lingotek_protect_variables_alter in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lingotek.api.inc \hook_lingotek_protect_variables_alter()

Alter the regular expression patterns used to find and protect Drupal variables before they are uploaded to Lingotek TMS for translation.

Parameters

array $patterns: An array of regular expressions to be modified

bool $protect_vars: TRUE or FALSE depending on whether !,@,% variables should be protected.

1 invocation of hook_lingotek_protect_variables_alter()
lingotek_filter_placeholders in ./lingotek.util.inc
Wrap placeholder tags in specific tags that will be ignored by Lingotek

File

./lingotek.api.inc, line 28
Describe hooks provided by the Lingotek Translation module.

Code

function hook_lingotek_protect_variables_alter(array &$patterns, $protect_vars) {
}