Skip to content
Snippets Groups Projects
Commit 2e41219a authored by Rajab Natshah's avatar Rajab Natshah Committed by Mahmoud Zayed
Browse files

Issue #3183443 by RajabNatshah, alokbhatt, amol.palhade17, mahmoud-zayed: Fix...

Issue #3183443 by RajabNatshah, alokbhatt, amol.palhade17, mahmoud-zayed: Fix Unable to add a block in layout and it gives ajax error
parent 3e32ba78
Branches
Tags 1.0.1
No related merge requests found
......@@ -95,7 +95,7 @@ function layout_builder_blocks_form_alter(&$form, FormStateInterface $form_state
'title' => $tab['title'],
'target' => $tab['machine_name'],
'active' => isset($tab['active']) && $tab['active'] == TRUE ? 'active' : '',
'icon' => base_path() . drupal_get_path('module', 'bootstrap_styles') . '/images/ui/' . ($tab['icon'] ? $tab['icon'] : 'default.svg'),
'icon' => drupal_get_path('module', 'bootstrap_styles') . '/images/ui/' . ($tab['icon'] ? $tab['icon'] : 'default.svg'),
],
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment