You are here

function registration_field_formatter_info in Entity Registration 8

Same name and namespace in other branches
  1. 8.2 includes/registration.field.inc \registration_field_formatter_info()
  2. 7.2 includes/registration.field.inc \registration_field_formatter_info()
  3. 7 includes/registration.field.inc \registration_field_formatter_info()

Implements hook_field_formatter_info().

File

includes/registration.field.inc, line 148
Field hooks.

Code

function registration_field_formatter_info() {
  return array(
    'registration_link' => array(
      'label' => t('Registration Link'),
      'field types' => array(
        'registration',
      ),
      'settings' => array(
        'label' => NULL,
        'i18n_string_key' => NULL,
      ),
    ),
    'registration_form' => array(
      'label' => t('Registration Form'),
      'field types' => array(
        'registration',
      ),
    ),
  );
}