You are here

function hook_regcode_fields in Registration codes 7

Same name and namespace in other branches
  1. 6.2 regcode.api.php \hook_regcode_fields()
  2. 7.2 regcode.api.php \hook_regcode_fields()

Called to gather field information.

1 invocation of hook_regcode_fields()
regcode_get_fields in ./regcode.module
Get the exposed regcode fields.

File

./regcode.api.php, line 71
Example hook functions for hooks provided by the core regcode module.

Code

function hook_regcode_fields() {
  return array(
    'group' => array(
      'description' => t('The group this code should be assigned to.'),
      'title' => t('Group'),
    ),
  );
}