function pet_uri in Previewable email templates 8.4
Same name and namespace in other branches
- 8 pet.module \pet_uri()
- 7 pet.module \pet_uri()
Entity uri callback.
File
- ./
pet.module, line 39 - Previewable Email Template module.
Code
function pet_uri(Pet $pet) {
return [
'path' => 'pet/' . $pet
->id(),
];
}