function registration_property_registrant_set in Entity Registration 8.2
Same name and namespace in other branches
- 7.2 registration.module \registration_property_registrant_set()
Callback to set $registration->registrant that supports null value.
2 string references to 'registration_property_registrant_set'
File
- ./
registration.module, line 1809
Code
function registration_property_registrant_set(Registration $registration, $name, $value, $lang, $type, $info) {
$registration->{$info['schema field']} = is_object($value) ? $value
->getIdentifier() : NULL;
}