| 5 bootstrap.inc | get_t() |
| 6 bootstrap.inc | get_t() |
| 7 bootstrap.inc | get_t() |
| 8 bootstrap.inc | get_t() |
Return the name of the localisation function. Use in code that needs to run both during installation and normal operation.
15 calls to get_t()
File
- includes/
bootstrap.inc, line 1228 - Functions that need to be loaded on every Drupal request.
Code
function get_t() {
static $t;
if (is_null($t)) {
$t = function_exists('install_main') ? 'st' : 't';
}
return $t;
}
Login or register to post comments