function registration_property_host_set in Entity Registration 7.2
Same name and namespace in other branches
- 8.2 registration.module \registration_property_host_set()
- 8 registration.module \registration_property_host_set()
- 7 registration.module \registration_property_host_set()
Callback to set $registration->host.
1 string reference to 'registration_property_host_set'
File
- ./
registration.module, line 1816
Code
function registration_property_host_set(Registration $registration, $name, $value, $lang, $type, $info) {
$registration->entity_type = $value
->type();
$registration->entity_id = $value
->getIdentifier();
}