Resolve #3495024 "Make top bar"
1 unresolved thread
1 unresolved thread
Closes #3495024
Merge request reports
Activity
13 13 return; 14 14 } 15 15 16 // Get local actions. 17 $block_manager = \Drupal::service('plugin.manager.block'); 18 $plugin_block = $block_manager->createInstance('local_actions_block', []); 19 $block_content = $plugin_block->build(); 20 $variables['gin_local_actions'] = \Drupal::service('renderer')->render($block_content); 21 $variables['#attached']['library'][] = 'gin/top_bar'; - Comment on lines +17 to +21
@jurgenhaas can you take a look here if we could simplify this?
changed this line in version 3 of the diff
- Resolved by Sascha Eggenberger
Please register or sign in to reply