You are here

function redhen_engagement_save in RedHen CRM 7

Saves a Redhen Engagement.

Parameters

RedhenEngagement $engagement: Populated engagement entity.

Return value

bool True if successful.

2 calls to redhen_engagement_save()
redhen_engagement_redhen_note_form_submit in modules/redhen_engagement/redhen_engagement.module
Submit handler for redhen_engagement_form_redhen_note_form_alter().
redhen_engagement_rules_action_score_contact in modules/redhen_engagement/redhen_engagement.rules.inc
Helper function for saving a comment engagement score when the Rule action is triggered.

File

modules/redhen_engagement/redhen_engagement.module, line 299
RedhenEngagement hook implementations and API

Code

function redhen_engagement_save(RedhenEngagement $engagement) {
  return $engagement
    ->save();
}