You are here

function registration_view in Entity Registration 8

Same name and namespace in other branches
  1. 8.2 registration.module \registration_view()
  2. 7.2 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
@FIXME This implementation of hook_menu() cannot be automatically converted because it contains logic (i.e., branching statements, function calls, object instantiation, etc.) You will need to convert it manually. Sorry!

File

./registration.module, line 445

Code

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