function translation_admin_paths

translation_admin_paths()

Implements hook_admin_paths().

File

modules/translation/translation.module, line 96
Manages content translations.

Code

function translation_admin_paths() {
  if (variable_get('node_admin_theme')) {
    $paths = array(
      'node/*/translate' => TRUE,
    );
    return $paths;
  }
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!translation!translation.module/function/translation_admin_paths/7.x