You are here

function party_simplenews_entity_property_info_alter in Party 8.2

Implements hook_entity_property_info_alter()

File

modules/party_simplenews/party_simplenews.module, line 49
Main module file for Party Simplenews integration

Code

function party_simplenews_entity_property_info_alter(&$info) {
  $properties =& $info['party']['properties'];
  $properties['primary_email'] = array(
    'label' => t('Primary Email Address'),
    'type' => 'text',
    'description' => t('The primary email address of this party'),
    'getter callback' => 'party_simplenews_party_get_properties',
  );
}