You are here

function registration_handler_field_registration_link::render in Entity Registration 8

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

File

src/registration_handler_field_registration_link.php, line 29
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.

Namespace

Drupal\registration

Code

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