You are here

function theme_registration_link in Entity Registration 7.2

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

Theme handler for registration links.

Parameters

array $variables: Contains the label and path for the link.

1 theme call to theme_registration_link()
registration_field_formatter_view in includes/registration.field.inc
Implements hook_field_formatter_view().

File

./registration.module, line 1015

Code

function theme_registration_link($variables) {
  $output = '';
  $registration_label = $variables['label'];
  $registration_path = $variables['path'];
  $registration_options = isset($variables['options']) ? $variables['options'] : array();
  $output .= l($registration_label, $registration_path, $registration_options);
  return $output;
}