From 993675ab6a1e0ab4ad6777f32e5f927e610b8b4c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 5 Feb 2009 01:05:17 +0000 Subject: #348627 by smk-ka and catch: Allow menu title callback property to bypass t() (+documentation and tests) --- modules/menu/menu.api.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/menu') diff --git a/modules/menu/menu.api.php b/modules/menu/menu.api.php index c69eaa79d..da1a36fc5 100644 --- a/modules/menu/menu.api.php +++ b/modules/menu/menu.api.php @@ -27,6 +27,9 @@ * contain the following key-value pairs: * * - "title": Required. The untranslated title of the menu item. + * - "title callback": Function to generate the title, defaults to t(). + * If you require only the raw string to be output, set this to FALSE. + * - "title arguments": Arguments to send to t() or your custom callback. * - "description": The untranslated description of the menu item. * - "page callback": The function to call to display a web page when the user * visits the path. If omitted, the parent menu item's callback will be used -- cgit v1.2.3