You are here

function party_primary_fields_callback_party_label_default in Party 7

Primary field callback for converting PID to 'Party PID' label.

See also

party_party_primary_fields_sources_alter()

1 string reference to 'party_primary_fields_callback_party_label_default'
party_party_primary_fields_sources_alter in ./party.party_info.inc
Implements hook_party_primary_fields_sources_alter().

File

./party.party.inc, line 163
Party general hook include.

Code

function party_primary_fields_callback_party_label_default($value) {
  return isset($value) ? t('Party @pid', array(
    '@pid' => $value,
  )) : NULL;
}