You are here

function simplenews_issue_fields_add in Simplenews 7.2

Add fields for newsletter, status and sent count to a note type.

Parameters

$type: A node type object.

Related topics

3 calls to simplenews_issue_fields_add()
simplenews_node_type_insert in ./simplenews.module
Implements hook_node_type_insert().
simplenews_node_type_update in ./simplenews.module
Implements hook_node_type_update().
_simplenews_install_nodetype in ./simplenews.install
Create simplenews node type.

File

./simplenews.module, line 479
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_issue_fields_add($type) {
  simplenews_issue_newsletter_field_add($type);
  simplenews_issue_handler_field_add($type);
  simplenews_issue_handler_settings_field_add($type);
  simplenews_issue_status_field_add($type);
  simplenews_issue_sent_count_field_add($type);
}