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,42 @@
<?php
/**
* @file
* mailing.features.field_base.inc
*/
/**
* Implements hook_field_default_field_bases().
*/
function mailing_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'field_simplenews_term'.
$field_bases['field_simplenews_term'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_simplenews_term',
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'parent' => 0,
'vocabulary' => 'newsletter',
),
),
'entity_translation_sync' => FALSE,
'options_list_callback' => NULL,
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
return $field_bases;
}