Skip to content
Snippets Groups Projects
Commit 6777ec95 authored by tvn's avatar tvn
Browse files

Feature updates

parent cf5118ee
No related branches found
No related tags found
No related merge requests found
......@@ -19,10 +19,9 @@ function drupalorg_documentation_field_default_field_instances() {
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 1,
'type' => 'hidden',
'weight' => 0,
),
'issuemetadata' => array(
'label' => 'above',
......@@ -63,24 +62,135 @@ function drupalorg_documentation_field_default_field_instances() {
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => 6,
'weight' => 2,
),
);
// Exported field_instance: 'node-documentation-og_group_ref'.
$field_instances['node-documentation-og_group_ref'] = array(
// Exported field_instance: 'node-documentation-field_related_content'.
$field_instances['node-documentation-field_related_content'] = array(
'bundle' => 'documentation',
'default_value' => NULL,
'default_value_function' => '',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'og_ui',
'module' => 'entityreference',
'settings' => array(
'link' => FALSE,
),
'type' => 'entityreference_label',
'weight' => 5,
),
'issuemetadata' => array(
'label' => 'above',
'settings' => array(),
'type' => 'og_list_default',
'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_related_content',
'label' => 'Related content',
'required' => 0,
'settings' => array(
'behaviors' => array(
'prepopulate' => array(
'status' => 0,
),
),
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'entityreference',
'settings' => array(
'match_operator' => 'CONTAINS',
'path' => '',
'size' => 60,
),
'type' => 'entityreference_autocomplete',
'weight' => 9,
),
);
// Exported field_instance: 'node-documentation-field_summary'.
$field_instances['node-documentation-field_summary'] = array(
'bundle' => 'documentation',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Summarize the content of the page under 10 characters. This summary will be displayed in content listings, search results, meta tags.',
'display' => array(
'default' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 4,
),
'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_summary',
'label' => 'Summary',
'required' => 1,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => 140,
),
'type' => 'text_textfield',
'weight' => 1,
),
);
// Exported field_instance: 'node-documentation-og_group_ref'.
$field_instances['node-documentation-og_group_ref'] = array(
'bundle' => 'documentation',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 2,
),
'issuemetadata' => array(
'label' => 'above',
'settings' => array(),
......@@ -134,7 +244,7 @@ function drupalorg_documentation_field_default_field_instances() {
'module' => 'og',
'settings' => array(),
'type' => 'og_complex',
'weight' => 1,
'weight' => 8,
),
);
......@@ -146,11 +256,10 @@ function drupalorg_documentation_field_default_field_instances() {
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'taxonomy',
'label' => 'hidden',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 2,
'type' => 'hidden',
'weight' => 1,
),
'issuemetadata' => array(
'label' => 'above',
......@@ -183,7 +292,7 @@ function drupalorg_documentation_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 4,
'weight' => 3,
),
);
......@@ -234,7 +343,7 @@ function drupalorg_documentation_field_default_field_instances() {
'size' => 60,
),
'type' => 'taxonomy_autocomplete',
'weight' => 5,
'weight' => 4,
),
);
......@@ -291,7 +400,120 @@ function drupalorg_documentation_field_default_field_instances() {
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => 9,
'weight' => 3,
),
);
// Exported field_instance: 'node-guide-field_related_content'.
$field_instances['node-guide-field_related_content'] = array(
'bundle' => 'guide',
'default_value' => NULL,
'default_value_function' => '',
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'entityreference',
'settings' => array(
'link' => FALSE,
),
'type' => 'entityreference_label',
'weight' => 9,
),
'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_related_content',
'label' => 'Related content',
'required' => 0,
'settings' => array(
'behaviors' => array(
'prepopulate' => array(
'status' => 0,
),
),
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'entityreference',
'settings' => array(
'match_operator' => 'CONTAINS',
'path' => '',
'size' => 60,
),
'type' => 'entityreference_autocomplete',
'weight' => 14,
),
);
// Exported field_instance: 'node-guide-field_summary'.
$field_instances['node-guide-field_summary'] = array(
'bundle' => 'guide',
'default_value' => NULL,
'deleted' => 0,
'description' => 'Documentation guide, a structural content type used to organize a set of documentation pages around specific topic. ',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 7,
),
'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_summary',
'label' => 'Summary',
'required' => 1,
'settings' => array(
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => 140,
),
'type' => 'text_textfield',
'weight' => 2,
),
);
......@@ -358,7 +580,7 @@ function drupalorg_documentation_field_default_field_instances() {
'og_hide' => TRUE,
),
'type' => 'options_onoff',
'weight' => 2,
'weight' => 4,
),
);
......@@ -407,7 +629,7 @@ function drupalorg_documentation_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 7,
'weight' => 9,
),
);
......@@ -456,7 +678,7 @@ function drupalorg_documentation_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 8,
'weight' => 10,
),
);
......@@ -505,7 +727,59 @@ function drupalorg_documentation_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 5,
'weight' => 7,
),
);
// Exported field_instance: 'node-guide-taxonomy_vocabulary_54'.
$field_instances['node-guide-taxonomy_vocabulary_54'] = array(
'bundle' => 'guide',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'taxonomy',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 8,
),
'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' => 'taxonomy_vocabulary_54',
'label' => 'Keywords',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 0,
'module' => 'taxonomy',
'settings' => array(
'autocomplete_path' => 'taxonomy/autocomplete',
'size' => 60,
),
'type' => 'taxonomy_autocomplete',
'weight' => 12,
),
);
......@@ -554,7 +828,7 @@ function drupalorg_documentation_field_default_field_instances() {
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 6,
'weight' => 8,
),
);
......@@ -564,6 +838,7 @@ function drupalorg_documentation_field_default_field_instances() {
t('Body');
t('Description');
t('Determine if this is an OG group.');
t('Documentation guide, a structural content type used to organize a set of documentation pages around specific topic. ');
t('Group');
t('Groups audience');
t('Keywords');
......@@ -571,7 +846,10 @@ function drupalorg_documentation_field_default_field_instances() {
t('Main content of the documentation page.');
t('Maintenance status');
t('Page status');
t('Related content');
t('Short description of the guide, what it is about, who is the audience.');
t('Summarize the content of the page under 10 characters. This summary will be displayed in content listings, search results, meta tags.');
t('Summary');
t('Version');
return $field_instances;
......
......@@ -16,15 +16,22 @@ features[ctools][] = views:views_default:3.0
features[ctools_custom_content][] = drupalorg_documentation_copyright
features[ctools_custom_content][] = drupalorg_documentation_core_lock
features[features_api][] = api:2
features[field_base][] = field_related_content
features[field_base][] = field_summary
features[field_instance][] = node-documentation-body
features[field_instance][] = node-documentation-field_related_content
features[field_instance][] = node-documentation-field_summary
features[field_instance][] = node-documentation-og_group_ref
features[field_instance][] = node-documentation-taxonomy_vocabulary_31
features[field_instance][] = node-documentation-taxonomy_vocabulary_54
features[field_instance][] = node-guide-body
features[field_instance][] = node-guide-field_related_content
features[field_instance][] = node-guide-field_summary
features[field_instance][] = node-guide-group_group
features[field_instance][] = node-guide-taxonomy_vocabulary_38
features[field_instance][] = node-guide-taxonomy_vocabulary_44
features[field_instance][] = node-guide-taxonomy_vocabulary_5
features[field_instance][] = node-guide-taxonomy_vocabulary_54
features[field_instance][] = node-guide-taxonomy_vocabulary_56
features[node][] = documentation
features[node][] = guide
......
......@@ -150,61 +150,6 @@ function drupalorg_documentation_panelizer_defaults() {
$display->content['new-110cc6f7-72ad-4a39-a681-103e922fe8bf'] = $pane;
$display->panels['left_content'][2] = 'new-110cc6f7-72ad-4a39-a681-103e922fe8bf';
$pane = new stdClass();
$pane->pid = 'new-1d4a7da5-c5ca-4d25-ba78-59a3785c9b6d';
$pane->panel = 'left_content';
$pane->type = 'entity_field';
$pane->subtype = 'node:taxonomy_vocabulary_54';
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'label' => 'hidden',
'formatter' => 'hidden',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'panelizer',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 3;
$pane->locks = array();
$pane->uuid = '1d4a7da5-c5ca-4d25-ba78-59a3785c9b6d';
$display->content['new-1d4a7da5-c5ca-4d25-ba78-59a3785c9b6d'] = $pane;
$display->panels['left_content'][3] = 'new-1d4a7da5-c5ca-4d25-ba78-59a3785c9b6d';
$pane = new stdClass();
$pane->pid = 'new-1a74c00f-1eda-4b96-b0eb-380fc88003f0';
$pane->panel = 'left_content';
$pane->type = 'node_links';
$pane->subtype = 'node_links';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'override_title' => FALSE,
'override_title_text' => '',
'build_mode' => 'default',
'identifier' => '',
'link' => TRUE,
'context' => 'panelizer',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_class' => 'link-wrapper',
);
$pane->extras = array();
$pane->position = 4;
$pane->locks = array();
$pane->uuid = '1a74c00f-1eda-4b96-b0eb-380fc88003f0';
$display->content['new-1a74c00f-1eda-4b96-b0eb-380fc88003f0'] = $pane;
$display->panels['left_content'][4] = 'new-1a74c00f-1eda-4b96-b0eb-380fc88003f0';
$pane = new stdClass();
$pane->pid = 'new-d8e12b64-8ae3-4fac-a29f-2f777b923b79';
$pane->panel = 'top_right_content';
$pane->type = 'custom';
......@@ -249,6 +194,29 @@ function drupalorg_documentation_panelizer_defaults() {
$pane->uuid = '549f783e-5b66-481e-92e4-08d4fe4df1aa';
$display->content['new-549f783e-5b66-481e-92e4-08d4fe4df1aa'] = $pane;
$display->panels['top_right_content'][1] = 'new-549f783e-5b66-481e-92e4-08d4fe4df1aa';
$pane = new stdClass();
$pane->pid = 'new-6786819f-e07a-4be9-a5b1-6089b33dfd53';
$pane->panel = 'top_right_content';
$pane->type = 'flag_link';
$pane->subtype = 'node';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'flag_name' => 'project_issue_follow',
'context' => 'panelizer',
'override_title' => 1,
'override_title_text' => '',
'override_title_heading' => 'h2',
);
$pane->cache = array();
$pane->style = array();
$pane->css = array();
$pane->extras = array();
$pane->position = 2;
$pane->locks = array();
$pane->uuid = '6786819f-e07a-4be9-a5b1-6089b33dfd53';
$display->content['new-6786819f-e07a-4be9-a5b1-6089b33dfd53'] = $pane;
$display->panels['top_right_content'][2] = 'new-6786819f-e07a-4be9-a5b1-6089b33dfd53';
$display->hide_title = PANELS_TITLE_NONE;
$display->title_pane = '0';
$panelizer->display = $display;
......@@ -292,44 +260,37 @@ function drupalorg_documentation_panelizer_defaults() {
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-bd0f4ade-38a1-4c99-a0cf-523ff2e35d1e';
$pane->pid = 'new-bfc84645-24b8-443e-bc3d-4a30ced210af';
$pane->panel = 'bottom_right_content';
$pane->type = 'entity_field';
$pane->subtype = 'node:taxonomy_vocabulary_5';
$pane->type = 'block';
$pane->subtype = 'og_menu-og_single_menu_block';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'hidden',
'formatter' => 'taxonomy_term_reference_link',
'delta_limit' => '0',
'delta_offset' => '0',
'delta_reversed' => 0,
'formatter_settings' => array(),
'context' => 'panelizer',
'override_title' => 1,
'override_title_text' => 'Documentation for:',
'override_title_heading' => 'h6',
'override_title' => 0,
'override_title_text' => '',
'override_title_heading' => 'h2',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->style = array();
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$pane->uuid = 'bd0f4ade-38a1-4c99-a0cf-523ff2e35d1e';
$display->content['new-bd0f4ade-38a1-4c99-a0cf-523ff2e35d1e'] = $pane;
$display->panels['bottom_right_content'][0] = 'new-bd0f4ade-38a1-4c99-a0cf-523ff2e35d1e';
$pane->uuid = 'bfc84645-24b8-443e-bc3d-4a30ced210af';
$display->content['new-bfc84645-24b8-443e-bc3d-4a30ced210af'] = $pane;
$display->panels['bottom_right_content'][0] = 'new-bfc84645-24b8-443e-bc3d-4a30ced210af';
$pane = new stdClass();
$pane->pid = 'new-bfc84645-24b8-443e-bc3d-4a30ced210af';
$pane->pid = 'new-4757c66d-5fa4-44f5-97d3-7b7bf199c088';
$pane->panel = 'bottom_right_content';
$pane->type = 'block';
$pane->subtype = 'og_menu-og_single_menu_block';
$pane->type = 'flag_link';
$pane->subtype = 'node';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'override_title' => 0,
'flag_name' => 'project_issue_follow',
'context' => 'panelizer',
'override_title' => 1,
'override_title_text' => '',
'override_title_heading' => 'h2',
);
......@@ -339,9 +300,30 @@ function drupalorg_documentation_panelizer_defaults() {
$pane->extras = array();
$pane->position = 1;
$pane->locks = array();
$pane->uuid = 'bfc84645-24b8-443e-bc3d-4a30ced210af';
$display->content['new-bfc84645-24b8-443e-bc3d-4a30ced210af'] = $pane;
$display->panels['bottom_right_content'][1] = 'new-bfc84645-24b8-443e-bc3d-4a30ced210af';
$pane->uuid = '4757c66d-5fa4-44f5-97d3-7b7bf199c088';
$display->content['new-4757c66d-5fa4-44f5-97d3-7b7bf199c088'] = $pane;
$display->panels['bottom_right_content'][1] = 'new-4757c66d-5fa4-44f5-97d3-7b7bf199c088';
$pane = new stdClass();
$pane->pid = 'new-20a1afa3-eed8-4105-ade7-f1c4cf3676e4';
$pane->panel = 'bottom_right_content';
$pane->type = 'views_panes';
$pane->subtype = 'group_maintainers-panel_pane_1';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'context' => array(
0 => 'panelizer',
),
);
$pane->cache = array();
$pane->style = array();
$pane->css = array();
$pane->extras = array();
$pane->position = 2;
$pane->locks = array();
$pane->uuid = '20a1afa3-eed8-4105-ade7-f1c4cf3676e4';
$display->content['new-20a1afa3-eed8-4105-ade7-f1c4cf3676e4'] = $pane;
$display->panels['bottom_right_content'][2] = 'new-20a1afa3-eed8-4105-ade7-f1c4cf3676e4';
$pane = new stdClass();
$pane->pid = 'new-a8dbb49b-966e-404d-9760-13dfe2ce0c1f';
$pane->panel = 'bottom_right_content';
......@@ -363,14 +345,14 @@ function drupalorg_documentation_panelizer_defaults() {
$pane->style = array();
$pane->css = array();
$pane->extras = array();
$pane->position = 2;
$pane->position = 3;
$pane->locks = array();
$pane->uuid = 'a8dbb49b-966e-404d-9760-13dfe2ce0c1f';
$display->content['new-a8dbb49b-966e-404d-9760-13dfe2ce0c1f'] = $pane;
$display->panels['bottom_right_content'][2] = 'new-a8dbb49b-966e-404d-9760-13dfe2ce0c1f';
$display->panels['bottom_right_content'][3] = 'new-a8dbb49b-966e-404d-9760-13dfe2ce0c1f';
$pane = new stdClass();
$pane->pid = 'new-ef11699e-35ef-44f5-9fe6-7713eb77d241';
$pane->panel = 'bottom_right_content';
$pane->panel = 'footer';
$pane->type = 'custom';
$pane->subtype = 'drupalorg_documentation_copyright';
$pane->shown = TRUE;
......@@ -387,62 +369,11 @@ function drupalorg_documentation_panelizer_defaults() {
$pane->style = array();
$pane->css = array();
$pane->extras = array();
$pane->position = 3;
$pane->position = 0;
$pane->locks = array();
$pane->uuid = 'ef11699e-35ef-44f5-9fe6-7713eb77d241';
$display->content['new-ef11699e-35ef-44f5-9fe6-7713eb77d241'] = $pane;
$display->panels['bottom_right_content'][3] = 'new-ef11699e-35ef-44f5-9fe6-7713eb77d241';
$pane = new stdClass();
$pane->pid = 'new-20a1afa3-eed8-4105-ade7-f1c4cf3676e4';
$pane->panel = 'left_content';
$pane->type = 'views_panes';
$pane->subtype = 'group_maintainers-panel_pane_1';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'context' => array(
0 => 'panelizer',
),
);
$pane->cache = array();
$pane->style = array();
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$pane->uuid = '20a1afa3-eed8-4105-ade7-f1c4cf3676e4';
$display->content['new-20a1afa3-eed8-4105-ade7-f1c4cf3676e4'] = $pane;
$display->panels['left_content'][0] = 'new-20a1afa3-eed8-4105-ade7-f1c4cf3676e4';
$pane = new stdClass();
$pane->pid = 'new-68fd77a7-ef66-45b1-877d-891ced6a8723';
$pane->panel = 'left_content';
$pane->type = 'entity_field';
$pane->subtype = 'node:taxonomy_vocabulary_44';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'hidden',
'formatter' => 'taxonomy_term_reference_plain',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'panelizer',
'override_title' => 1,
'override_title_text' => 'Status:',
'override_title_heading' => 'h4',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 1;
$pane->locks = array();
$pane->uuid = '68fd77a7-ef66-45b1-877d-891ced6a8723';
$display->content['new-68fd77a7-ef66-45b1-877d-891ced6a8723'] = $pane;
$display->panels['left_content'][1] = 'new-68fd77a7-ef66-45b1-877d-891ced6a8723';
$display->panels['footer'][0] = 'new-ef11699e-35ef-44f5-9fe6-7713eb77d241';
$pane = new stdClass();
$pane->pid = 'new-003373ee-353c-401d-8ed0-8ac620fc9ba2';
$pane->panel = 'left_content';
......@@ -465,11 +396,11 @@ function drupalorg_documentation_panelizer_defaults() {
);
$pane->css = array();
$pane->extras = array();
$pane->position = 2;
$pane->position = 0;
$pane->locks = array();
$pane->uuid = '003373ee-353c-401d-8ed0-8ac620fc9ba2';
$display->content['new-003373ee-353c-401d-8ed0-8ac620fc9ba2'] = $pane;
$display->panels['left_content'][2] = 'new-003373ee-353c-401d-8ed0-8ac620fc9ba2';
$display->panels['left_content'][0] = 'new-003373ee-353c-401d-8ed0-8ac620fc9ba2';
$pane = new stdClass();
$pane->pid = 'new-013c2153-279c-47a8-aaef-7929dc69bd8d';
$pane->panel = 'left_content';
......@@ -486,95 +417,13 @@ function drupalorg_documentation_panelizer_defaults() {
$pane->style = array();
$pane->css = array();
$pane->extras = array();
$pane->position = 3;
$pane->position = 1;
$pane->locks = array();
$pane->uuid = '013c2153-279c-47a8-aaef-7929dc69bd8d';
$display->content['new-013c2153-279c-47a8-aaef-7929dc69bd8d'] = $pane;
$display->panels['left_content'][3] = 'new-013c2153-279c-47a8-aaef-7929dc69bd8d';
$pane = new stdClass();
$pane->pid = 'new-caaf2371-ea89-4cac-a66a-0d4373744fd3';
$pane->panel = 'left_content';
$pane->type = 'node_links';
$pane->subtype = 'node_links';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'override_title' => FALSE,
'override_title_text' => '',
'build_mode' => 'default',
'identifier' => '',
'link' => TRUE,
'context' => 'panelizer',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_class' => 'link-wrapper',
);
$pane->extras = array();
$pane->position = 4;
$pane->locks = array();
$pane->uuid = 'caaf2371-ea89-4cac-a66a-0d4373744fd3';
$display->content['new-caaf2371-ea89-4cac-a66a-0d4373744fd3'] = $pane;
$display->panels['left_content'][4] = 'new-caaf2371-ea89-4cac-a66a-0d4373744fd3';
$pane = new stdClass();
$pane->pid = 'new-c05ffb40-e7fa-497a-8d8d-6e8c64fe2f85';
$pane->panel = 'preface';
$pane->type = 'entity_field';
$pane->subtype = 'node:taxonomy_vocabulary_38';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'above',
'formatter' => 'taxonomy_term_reference_link',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'panelizer',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$pane->uuid = 'c05ffb40-e7fa-497a-8d8d-6e8c64fe2f85';
$display->content['new-c05ffb40-e7fa-497a-8d8d-6e8c64fe2f85'] = $pane;
$display->panels['preface'][0] = 'new-c05ffb40-e7fa-497a-8d8d-6e8c64fe2f85';
$pane = new stdClass();
$pane->pid = 'new-777143ed-c809-4ccb-be3a-113d6cfe6f7e';
$pane->panel = 'preface';
$pane->type = 'entity_field';
$pane->subtype = 'node:taxonomy_vocabulary_56';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'above',
'formatter' => 'taxonomy_term_reference_link',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'panelizer',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 1;
$pane->locks = array();
$pane->uuid = '777143ed-c809-4ccb-be3a-113d6cfe6f7e';
$display->content['new-777143ed-c809-4ccb-be3a-113d6cfe6f7e'] = $pane;
$display->panels['preface'][1] = 'new-777143ed-c809-4ccb-be3a-113d6cfe6f7e';
$display->panels['left_content'][1] = 'new-013c2153-279c-47a8-aaef-7929dc69bd8d';
$display->hide_title = PANELS_TITLE_NONE;
$display->title_pane = 'new-bd0f4ade-38a1-4c99-a0cf-523ff2e35d1e';
$display->title_pane = '0';
$panelizer->display = $display;
$export['node:guide:default:default'] = $panelizer;
......
......@@ -77,7 +77,7 @@ function drupalorg_documentation_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'comment_guide';
$strongarm->value = '1';
$strongarm->value = '2';
$export['comment_guide'] = $strongarm;
$strongarm = new stdClass();
......@@ -151,10 +151,10 @@ function drupalorg_documentation_strongarm() {
'weight' => '0',
),
'path' => array(
'weight' => '3',
'weight' => '7',
),
'redirect' => array(
'weight' => '2',
'weight' => '6',
),
),
'display' => array(),
......@@ -208,10 +208,10 @@ function drupalorg_documentation_strongarm() {
'weight' => '1',
),
'path' => array(
'weight' => '4',
'weight' => '6',
),
'redirect' => array(
'weight' => '3',
'weight' => '5',
),
),
'display' => array(),
......
......@@ -132,28 +132,8 @@ function drupalorg_documentation_views_default_views() {
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['style_plugin'] = 'table';
$handler->display->display_options['style_options']['columns'] = array(
'title' => 'title',
'taxonomy_vocabulary_31' => 'taxonomy_vocabulary_31',
);
$handler->display->display_options['style_options']['default'] = '-1';
$handler->display->display_options['style_options']['info'] = array(
'title' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'taxonomy_vocabulary_31' => array(
'sortable' => 0,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
);
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['row_plugin'] = 'fields';
/* Relationship: OG membership: OG membership from Node */
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'node';
......@@ -166,17 +146,12 @@ function drupalorg_documentation_views_default_views() {
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
/* Field: Content: Page status */
$handler->display->display_options['fields']['taxonomy_vocabulary_31']['id'] = 'taxonomy_vocabulary_31';
$handler->display->display_options['fields']['taxonomy_vocabulary_31']['table'] = 'field_data_taxonomy_vocabulary_31';
$handler->display->display_options['fields']['taxonomy_vocabulary_31']['field'] = 'taxonomy_vocabulary_31';
/* Field: Content: Updated date */
$handler->display->display_options['fields']['changed']['id'] = 'changed';
$handler->display->display_options['fields']['changed']['table'] = 'node';
$handler->display->display_options['fields']['changed']['field'] = 'changed';
$handler->display->display_options['fields']['changed']['label'] = 'Updated';
$handler->display->display_options['fields']['changed']['date_format'] = 'short';
$handler->display->display_options['fields']['changed']['second_date_format'] = 'long';
/* Field: Content: Summary */
$handler->display->display_options['fields']['field_summary']['id'] = 'field_summary';
$handler->display->display_options['fields']['field_summary']['table'] = 'field_data_field_summary';
$handler->display->display_options['fields']['field_summary']['field'] = 'field_summary';
$handler->display->display_options['fields']['field_summary']['label'] = '';
$handler->display->display_options['fields']['field_summary']['element_label_colon'] = FALSE;
/* Sort criterion: Content: Post date */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
......@@ -208,10 +183,9 @@ function drupalorg_documentation_views_default_views() {
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Display: Table of contents */
$handler = $view->new_display('panel_pane', 'Table of contents', 'panel_pane_1');
/* Display: Contents */
$handler = $view->new_display('panel_pane', 'Contents', 'panel_pane_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'In this guide:';
$handler->display->display_options['pane_title'] = 'Guide: table of contents';
$handler->display->display_options['argument_input'] = array(
'gid' => array(
......@@ -239,11 +213,8 @@ function drupalorg_documentation_views_default_views() {
t('next ›'),
t('last »'),
t('OG membership from node'),
t('Page status'),
t('Updated'),
t('All'),
t('Table of contents'),
t('In this guide:'),
t('Contents'),
t('Guide: table of contents'),
t('View panes'),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment