Commit ca6e415b authored by Chris Shantz's avatar Chris Shantz
Browse files

refeaturized field_instances so the feature is no longer overridden.

parent 9fe0a4a0
......@@ -10,7 +10,7 @@
function uw_ct_event_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'node-uw_event-body'
// Exported field_instance: 'node-uw_event-body'.
$field_instances['node-uw_event-body'] = array(
'bundle' => 'uw_event',
'default_value' => array(
......@@ -149,7 +149,7 @@ function uw_ct_event_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_event-field_audience'
// Exported field_instance: 'node-uw_event-field_audience'.
$field_instances['node-uw_event-field_audience'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......@@ -228,7 +228,7 @@ function uw_ct_event_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_event-field_event_cost'
// Exported field_instance: 'node-uw_event-field_event_cost'.
$field_instances['node-uw_event-field_event_cost'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......@@ -300,7 +300,7 @@ function uw_ct_event_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_event-field_event_date'
// Exported field_instance: 'node-uw_event-field_event_date'.
$field_instances['node-uw_event-field_event_date'] = array(
'bundle' => 'uw_event',
'deleted' => 0,
......@@ -422,7 +422,7 @@ function uw_ct_event_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_event-field_event_host_link'
// Exported field_instance: 'node-uw_event-field_event_host_link'.
$field_instances['node-uw_event-field_event_host_link'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......@@ -510,7 +510,7 @@ function uw_ct_event_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_event-field_event_image'
// Exported field_instance: 'node-uw_event-field_event_image'.
$field_instances['node-uw_event-field_event_image'] = array(
'bundle' => 'uw_event',
'deleted' => 0,
......@@ -575,7 +575,14 @@ function uw_ct_event_field_default_field_instances() {
'exclude_cv' => FALSE,
'file_directory' => 'uploads/images',
'file_extensions' => 'png gif jpg jpeg',
'focal_point' => 0,
'image_field_caption' => 0,
'image_field_caption_wrapper' => array(
'image_field_caption_default' => array(
'format' => 'uw_tf_standard',
'value' => '',
),
),
'max_filesize' => '10 MB',
'max_resolution' => '3000x3000',
'min_resolution' => '50x50',
......@@ -640,7 +647,7 @@ function uw_ct_event_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_event-field_event_location'
// Exported field_instance: 'node-uw_event-field_event_location'.
$field_instances['node-uw_event-field_event_location'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......@@ -718,7 +725,7 @@ function uw_ct_event_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_event-field_event_map_link'
// Exported field_instance: 'node-uw_event-field_event_map_link'.
$field_instances['node-uw_event-field_event_map_link'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......@@ -813,7 +820,7 @@ function uw_ct_event_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_event-field_event_moreinfo_link'
// Exported field_instance: 'node-uw_event-field_event_moreinfo_link'.
$field_instances['node-uw_event-field_event_moreinfo_link'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......@@ -909,7 +916,7 @@ https://uwaterloo.ca/<event details web page>).',
),
);
// Exported field_instance: 'node-uw_event-field_file'
// Exported field_instance: 'node-uw_event-field_file'.
$field_instances['node-uw_event-field_file'] = array(
'bundle' => 'uw_event',
'deleted' => 0,
......@@ -1028,7 +1035,7 @@ https://uwaterloo.ca/<event details web page>).',
),
);
// Exported field_instance: 'node-uw_event-field_image'
// Exported field_instance: 'node-uw_event-field_image'.
$field_instances['node-uw_event-field_image'] = array(
'bundle' => 'uw_event',
'deleted' => 0,
......@@ -1090,7 +1097,14 @@ https://uwaterloo.ca/<event details web page>).',
'exclude_cv' => FALSE,
'file_directory' => 'uploads/images',
'file_extensions' => 'png gif jpg jpeg',
'focal_point' => 0,
'image_field_caption' => 0,
'image_field_caption_wrapper' => array(
'image_field_caption_default' => array(
'format' => 'uw_tf_standard',
'value' => '',
),
),
'max_filesize' => '10 MB',
'max_resolution' => '3000x3000',
'min_resolution' => '10x10',
......@@ -1155,7 +1169,7 @@ https://uwaterloo.ca/<event details web page>).',
),
);
// Exported field_instance: 'node-uw_event-field_uw_event_tag'
// Exported field_instance: 'node-uw_event-field_uw_event_tag'.
$field_instances['node-uw_event-field_uw_event_tag'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......@@ -1216,7 +1230,7 @@ https://uwaterloo.ca/<event details web page>).',
),
);
// Exported field_instance: 'node-uw_event-field_uw_event_type'
// Exported field_instance: 'node-uw_event-field_uw_event_type'.
$field_instances['node-uw_event-field_uw_event_type'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......@@ -1273,7 +1287,7 @@ https://uwaterloo.ca/<event details web page>).',
),
);
// Exported field_instance: 'node-uw_event-title_field'
// Exported field_instance: 'node-uw_event-title_field'.
$field_instances['node-uw_event-title_field'] = array(
'bundle' => 'uw_event',
'default_value' => NULL,
......
......@@ -126,6 +126,7 @@ features[variable][] = node_revision_delete_number_uw_event
features[variable][] = node_revision_delete_track_uw_event
features[variable][] = node_submitted_uw_event
features[variable][] = pathauto_node_uw_event_pattern
features[variable][] = pathauto_taxonomy_term_uw_event_type_pattern
features[variable][] = publishcontent_uw_event
features[variable][] = scheduler_publish_enable_uw_event
features[variable][] = scheduler_publish_revision_uw_event
......
......@@ -285,6 +285,13 @@ function uw_ct_event_strongarm() {
$strongarm->value = 'events/[node:title]';
$export['pathauto_node_uw_event_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_uw_event_type_pattern';
$strongarm->value = '[term:name]';
$export['pathauto_taxonomy_term_uw_event_type_pattern'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment