$language

Definition

developer/globals.php

Description

An array containing the information for the active language.

Example: <code> array ( 'language' => 'en', 'name' => 'English', 'native' => 'English', 'direction' => 0, 'enabled' => 1, 'plurals' => 0, 'formula' => '', 'domain' => '', 'prefix' => '', 'weight' => 0, 'javascript' => '' ); </code>

Code

<?php
global $language;
?>
 
 

Drupal is a registered trademark of Dries Buytaert.