Adding preview editable areas local tasks into the navigation module.
2 unresolved threads
Closes #3465295
Merge request reports
Activity
Filter activity
added 1 commit
- 38bdd990 - Adding unit test to the preview editable link areas.
131 131 }); 132 132 }, 133 133 }; 134 135 /** 136 * Toggle contextual menu links. 137 * 138 * @type {Drupal~behavior} 139 * 140 * @prop {Drupal~behaviorAttach} attach 141 * Attach event into the navigation contextual link. 142 */ 143 Drupal.behaviors.toggleContextualLinks = { 144 attach: () => { changed this line in version 4 of the diff
216 219 $info['layout_builder']['#pre_render'][] = [RenderCallbacks::class, 'alterLayoutBuilder']; 217 220 } 218 221 } 222 223 /** 224 * Implements hook_menu_local_tasks_alter(). 225 */ 226 function navigation_menu_local_tasks_alter(&$data, $route_name, RefinableCacheableDependencyInterface &$cacheability): void { 227 if ($route_name === 'entity.node.canonical' && !empty($data['tabs'][0])) { changed this line in version 6 of the diff
added 162 commits
-
b21540fe...23ad40d8 - 161 commits from branch
project:11.x
- 52cccc5f - Merge branch '11.x' into '3465295-integrate-top-bar'
-
b21540fe...23ad40d8 - 161 commits from branch