You are here

function xmlsitemap_user_form_user_register_alter in XML sitemap 6.2

Implements hook_form_FORM_ID_alter().

See also

user_register()

xmlsitemap_add_form_link_options()

File

xmlsitemap_user/xmlsitemap_user.module, line 104

Code

function xmlsitemap_user_form_user_register_alter(&$form, $form_state) {

  // Add the link options.
  module_load_include('inc', 'xmlsitemap', 'xmlsitemap.admin');
  xmlsitemap_add_form_link_options($form, 'user', 'user', $form['#uid']);
}