Skip to main content
added 6 characters in body
Source Link
googletorp
  • 35.4k
  • 10
  • 70
  • 109

Yes it is possible: You, you can use the generic hook_entity_presave (or update/insert).

  There is also a specific hook for profilesprofile2 as well:, hook_profile2_presave (or update/insert). It, but it requires the Rules module, though to be enabled.

Yes it is possible: You can use the generic hook_entity_presave (or update/insert).

  There is a specific hook for profiles as well: hook_profile2_presave (or update/insert). It requires the Rules module, though.

Yes it is possible, you can use the generic hook_entity_presave (or update/insert). There is also a specific hook for profile2 as well, hook_profile2_presave (or update/insert), but it requires the Rules module to be enabled.

added links to the documentation pages; fixed two run-on sentences
Source Link
avpaderno
  • 98.1k
  • 15
  • 165
  • 284

Yes it is possible, you: You can use the generic hook_entity_presavehook_entity_presave (or update/insert) -.

There is a specific hook for profiles as well: hook_profile2_presavehook_profile2_presave (or update/insert). It requires the rulesRules module, though.

Yes it is possible, you can use the generic hook_entity_presave (or update/insert) - There is a specific hook profiles as well: hook_profile2_presave (or update/insert) requires the rules module though.

Yes it is possible: You can use the generic hook_entity_presave (or update/insert).

There is a specific hook for profiles as well: hook_profile2_presave (or update/insert). It requires the Rules module, though.

Source Link
googletorp
  • 35.4k
  • 10
  • 70
  • 109

Yes it is possible, you can use the generic hook_entity_presave (or update/insert) - There is a specific hook profiles as well: hook_profile2_presave (or update/insert) requires the rules module though.