Is there developer documentation for the hooks provided by this module?

If not, I'd like to at least provide a starting point. Should this go into the module code in docs/hooks.php, or would a child page of http://drupal.org/node/137653 be a better choice?

Comments

kentr’s picture

For lack of response, I'd say start the documentation at the location you suggest.

Perhaps in a child page for "Developer Information" or similar.

cedarm’s picture

Just looked for where I may have stashed some notes. Apparently I didn't actually write any documentation, and now it's been long enough I don't remember whatever insight I gained by developing some hook implementations. All I can offer is sample code. It allows importing of a user property unique to us called $account->gcsi->user_uuid and uses

  • hook_user_import_form_update_user()
  • hook_user_import_form_field_match()
  • hook_user_import_data()
  • hook_user_import_after_save()

Haven't touched user_import since then because we've switched to using the migrate module for our needs.

robert castelo’s picture

Status: Active » Fixed

Have added an API.txt file with some basic info on the API.

Currently in 6.x-2.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.