diff --git a/features/drupalorg_marketplace/drupalorg_marketplace.features.field_base.inc b/features/drupalorg_marketplace/drupalorg_marketplace.features.field_base.inc index 6b1e795..d860649 100644 --- a/features/drupalorg_marketplace/drupalorg_marketplace.features.field_base.inc +++ b/features/drupalorg_marketplace/drupalorg_marketplace.features.field_base.inc @@ -77,6 +77,31 @@ function drupalorg_marketplace_field_default_field_bases() { 'type_name' => 'organization', ); + // Exported field_base: 'field_contrib_org_request' + $field_bases['field_contrib_org_request'] = array( + 'active' => 1, + 'cardinality' => 1, + 'deleted' => 0, + 'entity_types' => array(), + 'field_name' => 'field_contrib_org_request', + 'indexes' => array( + 'value' => array( + 0 => 'value', + ), + ), + 'locked' => 0, + 'module' => 'list', + 'settings' => array( + 'allowed_values' => array( + 0 => 'No request', + 1 => 'Request listing in the Drupal organizational contributor', + ), + 'allowed_values_function' => '', + ), + 'translatable' => 0, + 'type' => 'list_boolean', + ); + // Exported field_base: 'field_contributions' $field_bases['field_contributions'] = array( 'active' => 1, diff --git a/features/drupalorg_marketplace/drupalorg_marketplace.features.field_instance.inc b/features/drupalorg_marketplace/drupalorg_marketplace.features.field_instance.inc index 0334545..4190bc3 100644 --- a/features/drupalorg_marketplace/drupalorg_marketplace.features.field_instance.inc +++ b/features/drupalorg_marketplace/drupalorg_marketplace.features.field_instance.inc @@ -93,7 +93,7 @@ function drupalorg_marketplace_field_default_field_instances() { 'summary_rows' => 5, ), 'type' => 'text_textarea_with_summary', - 'weight' => 9, + 'weight' => 6, ), ); @@ -188,23 +188,72 @@ function drupalorg_marketplace_field_default_field_instances() { 'size' => 20, ), 'type' => 'text_textfield', - 'weight' => 7, + 'weight' => 10, ), 'widget_type' => 'text_textfield', ); - // Exported field_instance: 'node-organization-field_contributions' - $field_instances['node-organization-field_contributions'] = array( + // Exported field_instance: 'node-organization-field_contrib_org_request' + $field_instances['node-organization-field_contrib_org_request'] = array( 'bundle' => 'organization', 'default_value' => array( 0 => array( - 'value' => '', - 'format' => 1, - '_error_element' => 'default_value_widget][field_contributions][0][value', + 'value' => 0, ), ), 'deleted' => 0, - 'description' => '

Self promote! These fields determine eligibility for the Drupal.org marketplace and show the Drupal community how much you\'ve given back. Moderators use this information to respond to issues about community involvement, so it is important to list anything and everything relevant:

+ 'description' => 'If you request a listing, please review guidelines for Organizations who do not sell Drupal services. You cannot be listed here and the marketplace. Volunteer moderators will review your request. If you are not listed, you will still have the page and some features, like your logo replacing company name on profile pages. ', + 'display' => array( + 'default' => array( + 'label' => 'above', + 'module' => 'list', + 'settings' => array(), + 'type' => 'list_default', + 'weight' => 20, + ), + 'issuemetadata' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'nodechanges' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + 'teaser' => array( + 'label' => 'above', + 'settings' => array(), + 'type' => 'hidden', + 'weight' => 0, + ), + ), + 'entity_type' => 'node', + 'field_name' => 'field_contrib_org_request', + 'label' => 'List in Contributing Organizations', + 'required' => 0, + 'settings' => array( + 'user_register_form' => FALSE, + ), + 'widget' => array( + 'active' => 1, + 'module' => 'options', + 'settings' => array( + 'display_label' => 0, + ), + 'type' => 'options_onoff', + 'weight' => 35, + ), + ); + + // Exported field_instance: 'node-organization-field_contributions' + $field_instances['node-organization-field_contributions'] = array( + 'bundle' => 'organization', + 'default_value' => NULL, + 'deleted' => 0, + 'description' => '

Self promote! These fields determine eligibility for the Drupal.org marketplace and organizational contributors sections of the site. They show the Drupal community how much you\'ve given back. Moderators use this information to respond to issues about community involvement, so it is important to list anything and everything relevant: