You are here

function hook_party_data_set_info_alter in Party 8.2

Same name and namespace in other branches
  1. 7 party.api.php \hook_party_data_set_info_alter()

Alter data set definitions.

Parameters

$data_sets: An array of data sets keyed by set id. Extra items in each definition such as 'module' will already have been set.

1 invocation of hook_party_data_set_info_alter()
party_get_data_set_info in ./party.module
Get all data sets from hook_party_data_set_info().

File

./party.api.php, line 153
Hooks provided by the Party module.

Code

function hook_party_data_set_info_alter(&$data_sets) {
  $data_sets['user']['label'] = t('A different label');
}