You are here

function registration_handler_field_registration_link::render in Entity Registration 8.2

Same name in this branch
  1. 8.2 src/registration_handler_field_registration_link.php \Drupal\registration\registration_handler_field_registration_link::render()
  2. 8.2 modules/registration_views/includes/registration_handler_field_registration_link.inc \registration_handler_field_registration_link::render()
  3. 8.2 modules/registration_views/src/registration_handler_field_registration_link.php \Drupal\registration_views\registration_handler_field_registration_link::render()
Same name and namespace in other branches
  1. 8 modules/registration_views/includes/registration_handler_field_registration_link.inc \registration_handler_field_registration_link::render()
  2. 7.2 modules/registration_views/includes/registration_handler_field_registration_link.inc \registration_handler_field_registration_link::render()
  3. 7 modules/registration_views/includes/registration_handler_field_registration_link.inc \registration_handler_field_registration_link::render()

File

modules/registration_views/includes/registration_handler_field_registration_link.inc, line 28
Field handler to render a link to a registration.

Class

registration_handler_field_registration_link
@file Field handler to render a link to a registration.

Code

function render($values) {
  if ($entity = $this
    ->get_value($values)) {
    return $this
      ->render_link($entity, $values);
  }
}