Commit a6f1e8c9 authored by Lily Yan's avatar Lily Yan
Browse files

Recreate feature to remove overiddes.

parent d0773441
......@@ -10,21 +10,13 @@
function uw_virtual_site_homepage_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'field_uw_credentials'
// Exported field_base: 'field_uw_credentials'.
$field_bases['field_uw_credentials'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_credentials',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -39,21 +31,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_uw_department'
// Exported field_base: 'field_uw_department'.
$field_bases['field_uw_department'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_department',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -68,21 +52,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_uw_email_homepage'
// Exported field_base: 'field_uw_email_homepage'.
$field_bases['field_uw_email_homepage'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_email_homepage',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -97,21 +73,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_uw_extension'
// Exported field_base: 'field_uw_extension'.
$field_bases['field_uw_extension'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_extension',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -126,14 +94,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_uw_faculty_list_logo'
// Exported field_base: 'field_uw_faculty_list_logo'.
$field_bases['field_uw_faculty_list_logo'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_faculty_list_logo',
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
......@@ -211,14 +178,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'list_text',
);
// Exported field_base: 'field_uw_homepage_banners'
// Exported field_base: 'field_uw_homepage_banners'.
$field_bases['field_uw_homepage_banners'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_homepage_banners',
'foreign keys' => array(),
'indexes' => array(
'revision_id' => array(
0 => 'revision_id',
......@@ -238,21 +204,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'field_collection',
);
// Exported field_base: 'field_uw_homepage_banners_image'
// Exported field_base: 'field_uw_homepage_banners_image'.
$field_bases['field_uw_homepage_banners_image'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_homepage_banners_image',
'foreign keys' => array(
'fid' => array(
'columns' => array(
'fid' => 'fid',
),
'table' => 'file_managed',
),
),
'indexes' => array(
'fid' => array(
0 => 'fid',
......@@ -268,14 +226,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'image',
);
// Exported field_base: 'field_uw_homepage_banners_link'
// Exported field_base: 'field_uw_homepage_banners_link'.
$field_bases['field_uw_homepage_banners_link'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_homepage_banners_link',
'foreign keys' => array(),
'indexes' => array(),
'locked' => 0,
'module' => 'link',
......@@ -298,21 +255,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'link_field',
);
// Exported field_base: 'field_uw_office_hours'
// Exported field_base: 'field_uw_office_hours'.
$field_bases['field_uw_office_hours'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_office_hours',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -325,21 +274,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text_long',
);
// Exported field_base: 'field_uw_office_location'
// Exported field_base: 'field_uw_office_location'.
$field_bases['field_uw_office_location'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_office_location',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -354,21 +295,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_uw_other_faculty'
// Exported field_base: 'field_uw_other_faculty'.
$field_bases['field_uw_other_faculty'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_other_faculty',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -383,21 +316,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_uw_phone_number'
// Exported field_base: 'field_uw_phone_number'.
$field_bases['field_uw_phone_number'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_phone_number',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -412,21 +337,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_uw_profile_image'
// Exported field_base: 'field_uw_profile_image'.
$field_bases['field_uw_profile_image'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_profile_image',
'foreign keys' => array(
'fid' => array(
'columns' => array(
'fid' => 'fid',
),
'table' => 'file_managed',
),
),
'indexes' => array(
'fid' => array(
0 => 'fid',
......@@ -442,7 +359,7 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'image',
);
// Exported field_base: 'field_uw_site_description'
// Exported field_base: 'field_uw_site_description'.
$field_bases['field_uw_site_description'] = array(
'active' => 1,
'cardinality' => 1,
......@@ -451,14 +368,6 @@ function uw_virtual_site_homepage_field_default_field_bases() {
0 => 'node',
),
'field_name' => 'field_uw_site_description',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
......@@ -471,14 +380,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text_with_summary',
);
// Exported field_base: 'field_uw_theme_settings'
// Exported field_base: 'field_uw_theme_settings'.
$field_bases['field_uw_theme_settings'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_theme_settings',
'foreign keys' => array(),
'indexes' => array(
'value' => array(
0 => 'value',
......@@ -506,21 +414,13 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'list_text',
);
// Exported field_base: 'og_group_ref'
// Exported field_base: 'og_group_ref'.
$field_bases['og_group_ref'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'og_group_ref',
'foreign keys' => array(
'node' => array(
'columns' => array(
'target_id' => 'nid',
),
'table' => 'node',
),
),
'indexes' => array(
'target_id' => array(
0 => 'target_id',
......
......@@ -10,7 +10,8 @@
function uw_virtual_site_homepage_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'field_collection_item-field_uw_homepage_banners-field_uw_homepage_banners_image'
// Exported field_instance:
// 'field_collection_item-field_uw_homepage_banners-field_uw_homepage_banners_image'.
$field_instances['field_collection_item-field_uw_homepage_banners-field_uw_homepage_banners_image'] = array(
'bundle' => 'field_uw_homepage_banners',
'deleted' => 0,
......@@ -84,7 +85,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'field_collection_item-field_uw_homepage_banners-field_uw_homepage_banners_link'
// Exported field_instance:
// 'field_collection_item-field_uw_homepage_banners-field_uw_homepage_banners_link'.
$field_instances['field_collection_item-field_uw_homepage_banners-field_uw_homepage_banners_link'] = array(
'bundle' => 'field_uw_homepage_banners',
'default_value' => NULL,
......@@ -132,7 +134,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_credentials'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_credentials'.
$field_instances['node-uw_virtual_site_homepage-field_uw_credentials'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -202,7 +205,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_department'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_department'.
$field_instances['node-uw_virtual_site_homepage-field_uw_department'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -272,7 +276,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_email_homepage'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_email_homepage'.
$field_instances['node-uw_virtual_site_homepage-field_uw_email_homepage'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -342,7 +347,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_extension'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_extension'.
$field_instances['node-uw_virtual_site_homepage-field_uw_extension'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -412,7 +418,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_faculty_list_logo'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_faculty_list_logo'.
$field_instances['node-uw_virtual_site_homepage-field_uw_faculty_list_logo'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -479,7 +486,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_homepage_banners'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_homepage_banners'.
$field_instances['node-uw_virtual_site_homepage-field_uw_homepage_banners'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -552,7 +560,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_office_hours'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_office_hours'.
$field_instances['node-uw_virtual_site_homepage-field_uw_office_hours'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -622,7 +631,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_office_location'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_office_location'.
$field_instances['node-uw_virtual_site_homepage-field_uw_office_location'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -692,7 +702,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_other_faculty'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_other_faculty'.
$field_instances['node-uw_virtual_site_homepage-field_uw_other_faculty'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -762,7 +773,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_phone_number'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_phone_number'.
$field_instances['node-uw_virtual_site_homepage-field_uw_phone_number'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -832,7 +844,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_profile_image'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_profile_image'.
$field_instances['node-uw_virtual_site_homepage-field_uw_profile_image'] = array(
'bundle' => 'uw_virtual_site_homepage',
'deleted' => 0,
......@@ -942,7 +955,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_site_description'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_site_description'.
$field_instances['node-uw_virtual_site_homepage-field_uw_site_description'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......@@ -1017,7 +1031,8 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_theme_settings'
// Exported field_instance:
// 'node-uw_virtual_site_homepage-field_uw_theme_settings'.
$field_instances['node-uw_virtual_site_homepage-field_uw_theme_settings'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => array(
......@@ -1088,7 +1103,7 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-og_group_ref'
// Exported field_instance: 'node-uw_virtual_site_homepage-og_group_ref'.
$field_instances['node-uw_virtual_site_homepage-og_group_ref'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
......
......@@ -28,17 +28,9 @@ function uw_virtual_site_homepage_image_default_styles() {
// Exported image style: uw_homepage_banners.
$styles['uw_homepage_banners'] = array(
'name' => 'uw_homepage_banners',
'label' => 'Homepage banners',
'effects' => array(
5 => array(
'label' => 'Focal Point Scale And Crop',
'help' => 'Scale and crop based on data provided by <em>Focal Point</em>.',
'effect callback' => 'focal_point_scale_and_crop_effect',
'dimensions callback' => 'image_resize_dimensions',
'form callback' => 'focal_point_crop_form',
'summary theme' => 'focal_point_image_resize_summary',
'module' => 'focal_point',
'name' => 'focal_point_scale_and_crop',
'data' => array(
'width' => 380,
......@@ -55,17 +47,9 @@ function uw_virtual_site_homepage_image_default_styles() {
// Exported image style: uw_homepage_banners_large.
$styles['uw_homepage_banners_large'] = array(
'name' => 'uw_homepage_banners_large',
'label' => 'Homepage banners large',
'effects' => array(
3 => array(
'label' => 'Focal Point Scale And Crop',
'help' => 'Scale and crop based on data provided by <em>Focal Point</em>.',
'effect callback' => 'focal_point_scale_and_crop_effect',
'dimensions callback' => 'image_resize_dimensions',
'form callback' => 'focal_point_crop_form',
'summary theme' => 'focal_point_image_resize_summary',
'module' => 'focal_point',
'name' => 'focal_point_scale_and_crop',
'data' => array(
'width' => 1000,
......@@ -82,17 +66,9 @@ function uw_virtual_site_homepage_image_default_styles() {
// Exported image style: uw_homepage_banners_medium.
$styles['uw_homepage_banners_medium'] = array(
'name' => 'uw_homepage_banners_medium',
'label' => 'Homepage banners medium',
'effects' => array(
2 => array(
'label' => 'Focal Point Scale And Crop',
'help' => 'Scale and crop based on data provided by <em>Focal Point</em>.',
'effect callback' => 'focal_point_scale_and_crop_effect',
'dimensions callback' => 'image_resize_dimensions',
'form callback' => 'focal_point_crop_form',
'summary theme' => 'focal_point_image_resize_summary',
'module' => 'focal_point',
'name' => 'focal_point_scale_and_crop',
'data' => array(
'width' => 800,
......@@ -109,17 +85,9 @@ function uw_virtual_site_homepage_image_default_styles() {
// Exported image style: uw_homepage_banners_small.
$styles['uw_homepage_banners_small'] = array(
'name' => 'uw_homepage_banners_small',
'label' => 'Homepage banners small',
'effects' => array(
1 => array(
'label' => 'Focal Point Scale And Crop',
'help' => 'Scale and crop based on data provided by <em>Focal Point</em>.',
'effect callback' => 'focal_point_scale_and_crop_effect',
'dimensions callback' => 'image_resize_dimensions',
'form callback' => 'focal_point_crop_form',
'summary theme' => 'focal_point_image_resize_summary',
'module' => 'focal_point',
'name' => 'focal_point_scale_and_crop',
'data' => array(
'width' => 480,
......@@ -136,17 +104,9 @@ function uw_virtual_site_homepage_image_default_styles() {
// Exported image style: uw_homepage_banners_xl.
$styles['uw_homepage_banners_xl'] = array(
'name' => 'uw_homepage_banners_xl',
'label' => 'Homepage banners xl',
'effects' => array(
4 => array(
'label' => 'Focal Point Scale And Crop',
'help' => 'Scale and crop based on data provided by <em>Focal Point</em>.',
'effect callback' => 'focal_point_scale_and_crop_effect',
'dimensions callback' => 'image_resize_dimensions',
'form callback' => 'focal_point_crop_form',
'summary theme' => 'focal_point_image_resize_summary',
'module' => 'focal_point',
'name' => 'focal_point_scale_and_crop',
'data' => array(
'width' => 1600,
......@@ -178,5 +138,6 @@ function uw_virtual_site_homepage_node_info() {
'help' => '',
),
);
drupal_alter('node_info', $items);
return $items;
}
name = UW Virtual Site Homepage
description = UW virtual site homepage settings
package = uWaterloo Content Types
core = 7.x
package = uWaterloo Content Types
version = 7.x-1.0
project = uw_virtual_site_homepage
dependencies[] = conditional_fields
dependencies[] = ctools
......@@ -87,8 +88,3 @@ features[variable][] = node_preview_uw_virtual_site_homepage
features[variable][] = node_submitted_uw_virtual_site_homepage
features[views_view][] = uw_virtual_site_homepage_view
features_exclude[menu_links][navigation_uw-virtual-site-homepage:node/add/uw-virtual-site-homepage] = navigation_uw-virtual-site-homepage:node/add/uw-virtual-site-homepage
; Information added by drush on 2017-01-30
version = "7.x-1.0-beta+0-dev"
project = "uw_virtual_site_homepage"
datestamp = "1485795752"
\ No newline at end of file
Markdown is supported
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