You are here

function pmperson_migrate_fix_existing_users_form in Drupal PM (Project Management) 7.2

Same name and namespace in other branches
  1. 8 pmperson/includes/pmperson.migrate.inc \pmperson_migrate_fix_existing_users_form()
  2. 7.3 pmperson/includes/pmperson.migrate.inc \pmperson_migrate_fix_existing_users_form()

Form callback for automatching Drupal users to PM Persons.

1 string reference to 'pmperson_migrate_fix_existing_users_form'
pmperson_migrate_page_callback in pmperson/includes/pmperson.migrate.inc
Page callback for PM_PMPERSON_RESOLVE_DEPENDENCIES_LINK.

File

pmperson/includes/pmperson.migrate.inc, line 191
Migration functions for the PM Person module.

Code

function pmperson_migrate_fix_existing_users_form($form, $form_state) {
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Adjust pmperson nodes'),
    '#prefix' => '<br />',
    '#suffix' => t('Automatically match Drupal user with pmperson node using
      email if Drupal user is not associated with any other pmperson node.'),
  );
  return $form;
}