Commit f63baa1d authored by crawleyhost's avatar crawleyhost Committed by drumm
Browse files

Issue #3207977 by crawleyhost, dasjo, drumm: Allow to access Case Studies for a certain region

parent 7a6965f1
......@@ -767,6 +767,26 @@ return FALSE;
),
),
),
'taxonomy_vocabulary_52_tid' => array(
'bef_format' => 'default',
'more_options' => array(
'bef_select_all_none' => 0,
'bef_collapsible' => 0,
'autosubmit' => 0,
'is_secondary' => 1,
'any_label' => '',
'bef_filter_description' => '',
'tokens' => array(
'available' => array(
0 => 'global_types',
1 => 'vocabulary',
),
),
'rewrite' => array(
'filter_rewrite_values' => '',
),
),
),
);
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'full';
......@@ -794,6 +814,10 @@ return FALSE;
$handler->display->display_options['header']['area']['field'] = 'area';
$handler->display->display_options['header']['area']['format'] = '1';
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relationship: Entity Reference: Referenced Entity */
$handler->display->display_options['relationships']['field_case_organizations_target_id']['id'] = 'field_case_organizations_target_id';
$handler->display->display_options['relationships']['field_case_organizations_target_id']['table'] = 'field_data_field_case_organizations';
$handler->display->display_options['relationships']['field_case_organizations_target_id']['field'] = 'field_case_organizations_target_id';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Primary screenshot */
$handler->display->display_options['fields']['field_mainimage']['id'] = 'field_mainimage';
......@@ -1039,6 +1063,39 @@ return FALSE;
$handler->display->display_options['filters']['taxonomy_vocabulary_50_tid']['vocabulary'] = 'vocabulary_50';
$handler->display->display_options['filters']['taxonomy_vocabulary_50_tid']['hierarchy'] = 1;
$handler->display->display_options['filters']['taxonomy_vocabulary_50_tid']['error_message'] = FALSE;
/* Filter criterion: Content: Offices in (taxonomy_vocabulary_52) */
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['id'] = 'taxonomy_vocabulary_52_tid';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['table'] = 'field_data_taxonomy_vocabulary_52';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['field'] = 'taxonomy_vocabulary_52_tid';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['relationship'] = 'field_case_organizations_target_id';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['exposed'] = TRUE;
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['expose']['operator_id'] = 'taxonomy_vocabulary_52_tid_op';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['expose']['label'] = 'Country';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['expose']['operator'] = 'taxonomy_vocabulary_52_tid_op';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['expose']['identifier'] = 'country';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['expose']['multiple'] = TRUE;
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['expose']['remember_roles'] = array(
2 => 0,
3 => 0,
1 => 0,
39 => 0,
36 => 0,
7 => 0,
34 => 0,
32 => 0,
22 => 0,
20 => 0,
24 => 0,
41 => 0,
28 => 0,
26 => 0,
14 => 0,
38 => 0,
4 => 0,
42 => 0,
);
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['type'] = 'select';
$handler->display->display_options['filters']['taxonomy_vocabulary_52_tid']['vocabulary'] = 'vocabulary_52';
$handler->display->display_options['path'] = 'case-studies/community';
$translatables['drupalorg_casestudies'] = array(
t('Master'),
......@@ -1079,6 +1136,8 @@ return FALSE;
t('Sectors'),
t('Community Case Studies Landing Page'),
t('Explore community case studies'),
t('Content entity referenced from field_case_organizations'),
t('Country'),
);
$export['drupalorg_casestudies'] = $view;
......
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