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