Issue #3448265 by n.ghunaim: Fix an Error when using Layout Builder permissions with the Section Library module
1 open thread
Checkpoints
-
File an issue -
Addition/Change/Update/Fix -
Merge request -
Testing to ensure no regression -
Automated unit testing coverage -
Automated functional testing coverage -
UX/UI designer responsibilities -
Readability -
Accessibility -
Performance -
Security -
Documentation -
Code review by maintainers -
Full testing and approval -
Credit contributors -
Review with the product owner
Closes #3448265
Edited by Rajab Natshah
Merge request reports
Activity
114 114 } 115 115 116 $current_route_match = \Drupal::service('current_route_match'); 117 $route_name = $current_route_match->getRouteName(); 118 $params = $current_route_match->getParameters()->all(); 119 120 // Add save template to library link to the template. 116 121 $add_template_to_library_url = Url::fromRoute( 117 122 'section_library.add_template_to_library', 118 123 [ 119 'section_storage_type' => $params['section_storage_type'], 120 'section_storage' => $params['section_storage'], 121 'delta' => $params['delta'], 124 'section_storage_type' => $params['section_storage']->getStorageType(), 125 'section_storage' => $params['section_storage']->getStorageId(), 126 'delta' => count($params['section_storage']->getSections()),
Please register or sign in to reply