You are here

function hook_print_url_list_alter in Printer, email and PDF versions 7.2

Alters the URL in the URL list.

This hook is useful for third-party modules that would prefer to display something other than the naked URL in the URL list (e.g. glossary terms, etc.).

Parameters

string $url: The url to be modified.

Related topics

1 invocation of hook_print_url_list_alter()
theme_print_url_list in ./print.pages.inc
Returns HTML for the URL list of the print template.

File

./print.api.php, line 116
Main API entry point for the Printer, email and PDF versions.

Code

function hook_print_url_list_alter(&$url) {
  $url = 'foo';
}