implement postSave hook along with callback function

This commit is contained in:
Marc Michalsky forumZFD 2021-01-19 16:54:04 +01:00
parent c7bc3d6e94
commit b9175fa936
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
3 changed files with 70 additions and 42 deletions

View file

@ -118,6 +118,12 @@ abstract class CRM_TwingleCampaign_BAO_Campaign {
else if (in_array($key, $filter)) {
$this->values[$key] = $value;
}
else if ($key == 'embed') {
self::setEmbedData($value);
}
else if ($key == 'counter-url') {
self::setCounterUrl($value['url']);
}
}
}