You are here

function admin_language_node_insert in Administration Language 7

Implements hook_node_insert().

File

./admin_language.module, line 159
Makes admin pages be displayed in the administrator's preferred language.

Code

function admin_language_node_insert($node) {
  if (variable_get('admin_language_force_neutral', 0)) {
    unset($node->language);
  }
}