You are here

function mailchimp_bio_mailchimp_merge_keys in Mailchimp 5

Same name and namespace in other branches
  1. 5.2 mailchimp_bio.module \mailchimp_bio_mailchimp_merge_keys()

Implementation of hook_mailchimp_merge_keys

File

./mailchimp_bio.module, line 29

Code

function mailchimp_bio_mailchimp_merge_keys() {
  $out = array(
    0 => '<none>',
  );
  if (function_exists('_bio_get_fields')) {
    $bio_fields = _bio_get_fields();
    foreach ($bio_fields as $field) {
      $out['bio_' . $field['field_name']] = t('Bio: !field', array(
        '!field' => $field['widget']['label'],
      ));
    }
  }
  return $out;
}