added mailing feature

This commit is contained in:
Bachir Soussi Chiadmi
2016-07-19 20:09:30 +02:00
parent e310490c7f
commit 507402d07b
12 changed files with 1560 additions and 0 deletions

View File

@@ -0,0 +1,505 @@
<?php
/**
* @file
* mailing.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function mailing_strongarm() {
$export = array();
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'additional_settings__active_tab_simplenews';
$strongarm->value = 'edit-print';
$export['additional_settings__active_tab_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'ant_pattern_simplenews';
$strongarm->value = '';
$export['ant_pattern_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'ant_php_simplenews';
$strongarm->value = 0;
$export['ant_php_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'ant_simplenews';
$strongarm->value = '0';
$export['ant_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'date_popup_authored_enabled_simplenews';
$strongarm->value = 1;
$export['date_popup_authored_enabled_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'date_popup_authored_format_simplenews';
$strongarm->value = 'm/d/Y - H:i';
$export['date_popup_authored_format_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'date_popup_authored_year_range_simplenews';
$strongarm->value = '3';
$export['date_popup_authored_year_range_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'diff_enable_revisions_page_node_simplenews';
$strongarm->value = 1;
$export['diff_enable_revisions_page_node_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'diff_show_preview_changes_node_simplenews';
$strongarm->value = 1;
$export['diff_show_preview_changes_node_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'diff_view_mode_preview_node_simplenews';
$strongarm->value = 'full';
$export['diff_view_mode_preview_node_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_node__simplenews';
$strongarm->value = array(
'view_modes' => array(
'teaser' => array(
'custom_settings' => TRUE,
),
'bookmark' => array(
'custom_settings' => TRUE,
),
'cardsmall' => array(
'custom_settings' => TRUE,
),
'cardmedium' => array(
'custom_settings' => TRUE,
),
'cardbig' => array(
'custom_settings' => TRUE,
),
'cardfull' => array(
'custom_settings' => TRUE,
),
'print' => array(
'custom_settings' => TRUE,
),
'full' => array(
'custom_settings' => FALSE,
),
'rss' => array(
'custom_settings' => FALSE,
),
'diff_standard' => array(
'custom_settings' => FALSE,
),
'email_plain' => array(
'custom_settings' => FALSE,
),
'email_html' => array(
'custom_settings' => FALSE,
),
'email_textalt' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
'homeblock' => array(
'custom_settings' => TRUE,
),
),
'extra_fields' => array(
'form' => array(
'metatags' => array(
'weight' => '6',
),
'title' => array(
'weight' => '0',
),
'path' => array(
'weight' => '2',
),
'redirect' => array(
'weight' => '1',
),
'workflow' => array(
'weight' => '7',
),
),
'display' => array(
'workflow_current_state' => array(
'default' => array(
'weight' => '1',
'visible' => FALSE,
),
'teaser' => array(
'weight' => '-99',
'visible' => FALSE,
),
'homeblock' => array(
'weight' => '-99',
'visible' => FALSE,
),
),
'workflow' => array(
'default' => array(
'weight' => '2',
'visible' => FALSE,
),
'teaser' => array(
'weight' => '99',
'visible' => FALSE,
),
'homeblock' => array(
'weight' => '99',
'visible' => FALSE,
),
),
),
),
);
$export['field_bundle_settings_node__simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'honeypot_form_simplenews_node_form';
$strongarm->value = 0;
$export['honeypot_form_simplenews_node_form'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'i18n_node_extended_simplenews';
$strongarm->value = 1;
$export['i18n_node_extended_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'i18n_node_options_simplenews';
$strongarm->value = array();
$export['i18n_node_options_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'language_content_type_simplenews';
$strongarm->value = '0';
$export['language_content_type_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_api_key';
$strongarm->value = 'key-33300563658e8ae366a01cb603a9fef8';
$export['mailgun_api_key'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_domain';
$strongarm->value = 'mail.materio.com';
$export['mailgun_domain'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_format';
$strongarm->value = '_none';
$export['mailgun_format'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_log';
$strongarm->value = 0;
$export['mailgun_log'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_queue';
$strongarm->value = 1;
$export['mailgun_queue'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_test';
$strongarm->value = 0;
$export['mailgun_test'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_tracking';
$strongarm->value = 'default';
$export['mailgun_tracking'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_tracking_clicks';
$strongarm->value = 'default';
$export['mailgun_tracking_clicks'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'mailgun_tracking_opens';
$strongarm->value = 'default';
$export['mailgun_tracking_opens'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'menu_options_simplenews';
$strongarm->value = array();
$export['menu_options_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'menu_parent_simplenews';
$strongarm->value = 'main-menu:0';
$export['menu_parent_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'node_options_simplenews';
$strongarm->value = array(
0 => 'status',
);
$export['node_options_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'node_preview_simplenews';
$strongarm->value = '1';
$export['node_preview_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'node_submitted_simplenews';
$strongarm->value = 0;
$export['node_submitted_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'pathauto_node_simplenews_pattern';
$strongarm->value = '[node:field-simplenews-term:name]/[node:title]';
$export['pathauto_node_simplenews_pattern'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'pathauto_taxonomy_term_newsletter_pattern';
$strongarm->value = '';
$export['pathauto_taxonomy_term_newsletter_pattern'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_content_type_looping_embed_video';
$strongarm->value = 0;
$export['simplenews_content_type_looping_embed_video'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_content_type_materiau';
$strongarm->value = 0;
$export['simplenews_content_type_materiau'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_content_type_simplenews';
$strongarm->value = 1;
$export['simplenews_content_type_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_content_type_static_page_plaintext';
$strongarm->value = 0;
$export['simplenews_content_type_static_page_plaintext'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_debug';
$strongarm->value = 0;
$export['simplenews_debug'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_format';
$strongarm->value = 'html';
$export['simplenews_format'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_from_address';
$strongarm->value = 'info@materio.com';
$export['simplenews_from_address'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_from_name';
$strongarm->value = 'materiO';
$export['simplenews_from_name'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_last_cron';
$strongarm->value = 1465539721;
$export['simplenews_last_cron'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_last_sent';
$strongarm->value = 37;
$export['simplenews_last_sent'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_priority';
$strongarm->value = '0';
$export['simplenews_priority'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_private_key';
$strongarm->value = 'f5df0e8c8856dd60b4572b439faa428a';
$export['simplenews_private_key'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_receipt';
$strongarm->value = 0;
$export['simplenews_receipt'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_send';
$strongarm->value = '1';
$export['simplenews_send'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_source_cache';
$strongarm->value = 'SimplenewsSourceCacheNone';
$export['simplenews_source_cache'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_spool_expire';
$strongarm->value = '1';
$export['simplenews_spool_expire'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_test_address';
$strongarm->value = 'info@materio.com';
$export['simplenews_test_address'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_test_address_override';
$strongarm->value = 0;
$export['simplenews_test_address_override'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_throttle';
$strongarm->value = '50';
$export['simplenews_throttle'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_use_cron';
$strongarm->value = 1;
$export['simplenews_use_cron'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'simplenews_vid';
$strongarm->value = '18';
$export['simplenews_vid'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'unique_field_comp_simplenews';
$strongarm->value = 'each';
$export['unique_field_comp_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'unique_field_fields_simplenews';
$strongarm->value = array();
$export['unique_field_fields_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'unique_field_scope_simplenews';
$strongarm->value = 'type';
$export['unique_field_scope_simplenews'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'unique_field_show_matches_simplenews';
$strongarm->value = array();
$export['unique_field_show_matches_simplenews'] = $strongarm;
return $export;
}