You are here

function theme_menu_token_uses_tokens in Menu Token 7

Same name and namespace in other branches
  1. 6 menu_token.module \theme_menu_token_uses_tokens()

Appends the "uses tokens" label to links on the admin menu links overview form.

1 string reference to 'theme_menu_token_uses_tokens'
menu_token_menu in ./menu_token.module
Implements hook_menu().
1 theme call to theme_menu_token_uses_tokens()
menu_token_form_menu_overview_form_alter in ./menu_token.module
Implementation hook_form_FORM_ID_alter().

File

./menu_token.module, line 21
Main module file for the Menu Token module.

Code

function theme_menu_token_uses_tokens() {
  drupal_add_css(drupal_get_path('module', 'menu_token') . '/menu_token.css');
  return ' <span class="uses-tokens">' . t('uses tokens') . '</span>';
}