Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_dashboard
Commits
67ea1f90
Commit
67ea1f90
authored
Sep 16, 2020
by
Eric Bremner
Browse files
ISTWCMS-4084: adding uw layouts to dashboard
parent
d54fa13f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Plugin/LayoutBuilderRestriction/UwDashboardRestrictBlocksLayouts.php
...utBuilderRestriction/UwDashboardRestrictBlocksLayouts.php
+1
-1
No files found.
src/Plugin/LayoutBuilderRestriction/UwDashboardRestrictBlocksLayouts.php
View file @
67ea1f90
...
...
@@ -93,7 +93,7 @@ class UwDashboardRestrictBlocksLayouts extends EntityViewModeRestriction {
if
(
$context
[
'section_storage'
]
->
pluginId
==
'dashboards'
||
$context
[
'section_storage'
]
->
pluginId
==
'dashboards_override'
)
{
// The allowed layouts machine names.
$allowed_layouts
=
[
'layout_1'
,
'
layout_2'
,
'layout_3
'
];
$allowed_layouts
=
[
'layout_1'
,
'
uw_1_column'
,
'uw_2_column'
,
'uw_3_column'
,
'uw_inverted_l_left'
,
'uw_inverted_l_right
'
];
// Step through each of the definitions and unset anything
// that is not in the allowed layouts array.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment