get_t

Definition

get_t()
drupal/includes/bootstrap.inc, line 1196

Description

Return the name of the localization function. Use in code that needs to run both during installation and normal operation.

Code

function get_t() {
  static $t;
  if (is_null($t)) {
    $t = function_exists('install_main') ? 'st' : 't';
  }
  return $t;
}