Commit 67ea1f90 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4084: adding uw layouts to dashboard

parent d54fa13f
......@@ -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.
Markdown is supported
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