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

FDSU-1805 Recreate feature to remove field_uw_faculty (old faculty).

parent 344d81c8
......@@ -126,35 +126,6 @@ function uw_virtual_site_homepage_field_default_field_bases() {
'type' => 'text',
);
// Exported field_base: 'field_uw_faculty'
$field_bases['field_uw_faculty'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_uw_faculty',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'max_length' => 255,
),
'translatable' => 0,
'type' => 'text',
);
// Exported field_base: 'field_uw_faculty_list'
$field_bases['field_uw_faculty_list'] = array(
'active' => 1,
......
......@@ -290,76 +290,6 @@ function uw_virtual_site_homepage_field_default_field_instances() {
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_faculty'
$field_instances['node-uw_virtual_site_homepage-field_uw_faculty'] = array(
'bundle' => 'uw_virtual_site_homepage',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Enter your faculty or department (for example: Faculty of Environment).',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 2,
),
'links' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'no_image_teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'sidebar_teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'slide_teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'title' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_uw_faculty',
'label' => 'Faculty',
'required' => 0,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => 60,
),
'type' => 'text_textfield',
'weight' => 4,
),
);
// Exported field_instance: 'node-uw_virtual_site_homepage-field_uw_faculty_list'
$field_instances['node-uw_virtual_site_homepage-field_uw_faculty_list'] = array(
'bundle' => 'uw_virtual_site_homepage',
......@@ -980,7 +910,6 @@ function uw_virtual_site_homepage_field_default_field_instances() {
t('Enter the location of your office (for example: NH 101).');
t('Enter your credentials. This will appear under the site title at the top of every page (for example: PhD Computer Science). Leave blank if not to be displayed.');
t('Enter your email address (for example: john.doe@uwaterloo.ca).');
t('Enter your faculty or department (for example: Faculty of Environment).');
t('Enter your office hours (for example: Mondays, Wednesday and Fridays 10:30 am to 11:45 am).');
t('Enter your phone extension (for example: 45555).');
t('Enter your phone number (for example: 519-888-4567).');
......
......@@ -13,6 +13,7 @@ dependencies[] = menu
dependencies[] = node
dependencies[] = og
dependencies[] = og_vocab
dependencies[] = options
dependencies[] = os_app_base
dependencies[] = spaces
dependencies[] = strongarm
......@@ -26,7 +27,6 @@ features[field_base][] = field_uw_credentials
features[field_base][] = field_uw_department
features[field_base][] = field_uw_email_homepage
features[field_base][] = field_uw_extension
features[field_base][] = field_uw_faculty
features[field_base][] = field_uw_faculty_list
features[field_base][] = field_uw_office_hours
features[field_base][] = field_uw_office_location
......@@ -37,7 +37,6 @@ features[field_instance][] = node-uw_virtual_site_homepage-field_uw_credentials
features[field_instance][] = node-uw_virtual_site_homepage-field_uw_department
features[field_instance][] = node-uw_virtual_site_homepage-field_uw_email_homepage
features[field_instance][] = node-uw_virtual_site_homepage-field_uw_extension
features[field_instance][] = node-uw_virtual_site_homepage-field_uw_faculty
features[field_instance][] = node-uw_virtual_site_homepage-field_uw_faculty_list
features[field_instance][] = node-uw_virtual_site_homepage-field_uw_office_hours
features[field_instance][] = node-uw_virtual_site_homepage-field_uw_office_location
......@@ -66,4 +65,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
mtime = 1484078915
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