function party_simplenews_party_data_set_info in Party 8.2
Implements hook_party_data_set_info() {
File
- modules/
party_simplenews/ party_simplenews.module, line 63 - Main module file for Party Simplenews integration
Code
function party_simplenews_party_data_set_info() {
$sets['subscription_settings'] = array(
'label' => t("Subscription Settings"),
'entity type' => 'party_subscription_settings',
'class' => 'PartySubscriptionSettingsDataSet',
'singleton' => TRUE,
'max cardinality' => 1,
'view mode' => 'party',
'form callback' => 'party_subscription_settings_edit_form',
);
return $sets;
}