function party_install in Party 7
Implements hook_install().
File
- ./
party.install, line 11 - Contains install hooks for the CRM party module.
Code
function party_install() {
// Set up our initial primary fields.
variable_set('party_primary_fields', array(
'label' => array(
'party:pid' => array(
'data_set' => 'party',
'property' => 'pid',
// Make this likely to be the last label plugin.
'weight' => 50,
'callback' => 'party_label_default',
),
),
));
}