Skip to content
Snippets Groups Projects

Resolve #3495024 "Make top bar"

Merged Sascha Eggenberger requested to merge issue/gin-3495024:3495024-make-top-bar into 8.x-3.x
1 unresolved thread

Closes #3495024

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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';
  • added 1 commit

    • 759c7efa - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Please register or sign in to reply
    Loading