You are here

function extlink_extra_leaving_page in External Links Extra 7

Page callback function for '/now-leaving'.

1 string reference to 'extlink_extra_leaving_page'
extlink_extra_menu in ./extlink_extra.module
Implementation of hook_menu().

File

./extlink_extra.module, line 105
This module adds some extra functionality to the External Links module.

Code

function extlink_extra_leaving_page() {
  $output = theme('extlink_extra_leaving');

  // We might not need to have drupal render all the rest of the html if this is a javascript request.
  if (isset($_REQUEST['js'])) {
    print $output;
    exit;
  }
  return $output;
}