You are here

function cookiebot_form_menu_edit_item_alter in Cookiebot - Cookie consent, Cookie monitoring and Cookie control 7

Implements hook_form_FROM_ID_alter() for menu_edit_item().

File

./cookiebot.module, line 215
The Cookiebot main module file.

Code

function cookiebot_form_menu_edit_item_alter(&$form, &$form_state) {
  if (!isset($form['link_path']['#default_value'])) {
    return;
  }
  $form['link_path']['#description'] .= ' ' . t("Enter '%cookiebot-renew' to generate a link to renew Cookiebot's cookie consent status.", array(
    '%cookiebot-renew' => '<cookiebot-renew>',
  ));
}