You are here

function registration_view in Entity Registration 7.2

Same name and namespace in other branches
  1. 8.2 registration.module \registration_view()
  2. 8 registration.module \registration_view()
  3. 7 registration.module \registration_view()

Display a registration.

Parameters

object $registration: A fully loaded registration object.

Return value

array Renderable elements.

1 string reference to 'registration_view'
registration_menu in ./registration.module
Implements hook_menu().

File

./registration.module, line 535

Code

function registration_view(Registration $registration, $view_mode = 'full') {
  return $registration
    ->view($view_mode);
}