Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCM Base Distribution
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCIO_ODEE_Web
WCM Base Distribution
Commits
b91073b8
Commit
b91073b8
authored
7 years ago
by
Chris Gross
Browse files
Options
Downloads
Patches
Plain Diff
7.x-1.3 Release (3)
parent
7b8f2688
No related branches found
Branches containing commit
Tags
7.x-1.3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
profiles/wcm_base/modules/custom/ocio_calendar/ocio_calendar.views_default.inc
+34
-12
34 additions, 12 deletions
...ules/custom/ocio_calendar/ocio_calendar.views_default.inc
with
34 additions
and
12 deletions
profiles/wcm_base/modules/custom/ocio_calendar/ocio_calendar.views_default.inc
+
34
−
12
View file @
b91073b8
...
@@ -67,6 +67,28 @@ function ocio_calendar_views_default_views() {
...
@@ -67,6 +67,28 @@ function ocio_calendar_views_default_views() {
),
),
),
),
),
),
'field_calendar_tags_tid'
=>
array
(
'bef_format'
=>
'default'
,
'more_options'
=>
array
(
'bef_select_all_none'
=>
FALSE
,
'bef_collapsible'
=>
0
,
'autosubmit'
=>
0
,
'is_secondary'
=>
0
,
'any_label'
=>
'- All -'
,
'bef_filter_description'
=>
''
,
'placeholder'
=>
'disable'
,
'placeholder_text'
=>
''
,
'tokens'
=>
array
(
'available'
=>
array
(
0
=>
'global_types'
,
1
=>
'vocabulary'
,
),
),
'rewrite'
=>
array
(
'filter_rewrite_values'
=>
''
,
),
),
),
);
);
$handler
->
display
->
display_options
[
'pager'
][
'type'
]
=
'date_views_pager'
;
$handler
->
display
->
display_options
[
'pager'
][
'type'
]
=
'date_views_pager'
;
$handler
->
display
->
display_options
[
'pager'
][
'options'
][
'date_id'
]
=
'month'
;
$handler
->
display
->
display_options
[
'pager'
][
'options'
][
'date_id'
]
=
'month'
;
...
@@ -169,16 +191,16 @@ function ocio_calendar_views_default_views() {
...
@@ -169,16 +191,16 @@ function ocio_calendar_views_default_views() {
$handler
->
display
->
display_options
[
'filters'
][
'type'
][
'value'
]
=
array
(
$handler
->
display
->
display_options
[
'filters'
][
'type'
][
'value'
]
=
array
(
'calendar_entry'
=>
'calendar_entry'
,
'calendar_entry'
=>
'calendar_entry'
,
);
);
/* Filter criterion: Content: Tags (field_tags) */
/* Filter criterion: Content: Tags (field_
calendar_
tags) */
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'id'
]
=
'field_tags_tid'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'id'
]
=
'field_
calendar_
tags_tid'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'table'
]
=
'field_data_field_tags'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'table'
]
=
'field_data_field_
calendar_
tags'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'field'
]
=
'field_tags_tid'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'field'
]
=
'field_
calendar_
tags_tid'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'exposed'
]
=
TRUE
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'exposed'
]
=
TRUE
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'expose'
][
'operator_id'
]
=
'field_tags_tid_op'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'expose'
][
'operator_id'
]
=
'field_
calendar_
tags_tid_op'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'expose'
][
'label'
]
=
'Show Events'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'expose'
][
'label'
]
=
'Show Events'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'expose'
][
'operator'
]
=
'field_tags_tid_op'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'expose'
][
'operator'
]
=
'field_
calendar_
tags_tid_op'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'expose'
][
'identifier'
]
=
'field_tags_tid'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'expose'
][
'identifier'
]
=
'field_
calendar_
tags_tid'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'expose'
][
'remember_roles'
]
=
array
(
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'expose'
][
'remember_roles'
]
=
array
(
2
=>
'2'
,
2
=>
'2'
,
1
=>
0
,
1
=>
0
,
6
=>
0
,
6
=>
0
,
...
@@ -188,8 +210,8 @@ function ocio_calendar_views_default_views() {
...
@@ -188,8 +210,8 @@ function ocio_calendar_views_default_views() {
8
=>
0
,
8
=>
0
,
3
=>
0
,
3
=>
0
,
);
);
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'type'
]
=
'select'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'type'
]
=
'select'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_tags_tid'
][
'vocabulary'
]
=
'
ocio
_tags'
;
$handler
->
display
->
display_options
[
'filters'
][
'field_
calendar_
tags_tid'
][
'vocabulary'
]
=
'
calendar
_tags'
;
/* Display: Month */
/* Display: Month */
$handler
=
$view
->
new_display
(
'page'
,
'Month'
,
'page_1'
);
$handler
=
$view
->
new_display
(
'page'
,
'Month'
,
'page_1'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment