Loading admin_toolbar_links_access_filter/admin_toolbar_links_access_filter.module +4 −3 Original line number Diff line number Diff line Loading @@ -102,8 +102,8 @@ function admin_toolbar_links_access_filter_filter_non_accessible_links(array &$i // Every child item has been cleared out. // Now check, if the given route represents an overview page only, // without having functionality on its own. In this case, we can safely // unset this item, as there aren't any children left. // without having functionality on its own. In this case, we can // safely unset this item, as there aren't any children left. // This assumption is only valid, when the admin_toolbar module is // installed because otherwise we won't have child items at all. if (admin_toolbar_links_access_filter_is_overview_page($route_name)) { Loading @@ -120,7 +120,8 @@ function admin_toolbar_links_access_filter_filter_non_accessible_links(array &$i } } } } catch (\UnexpectedValueException $e) { } catch (\UnexpectedValueException $e) { // Skip on errors like "base:block has no corresponding route": \Drupal::logger('my_module')->error($e->getMessage()); continue; Loading admin_toolbar_tools/src/AdminToolbarToolsHelper.php +2 −2 Original line number Diff line number Diff line Loading @@ -114,8 +114,8 @@ class AdminToolbarToolsHelper { // We can't use #lazy_builder here because // ToolbarItem::preRenderToolbarItem will insert #attributes before // lazy_builder callback and this will produce Exception. // This means that for now we always render Local Tasks item even when // the tray is empty. // This means that for now we always render Local Tasks item even // when the tray is empty. '#type' => 'link', '#title' => $this->t('Local Tasks'), '#url' => Url::fromRoute('<none>'), Loading admin_toolbar_search/css/admin.toolbar_search.css +1 −1 File changed.Contains only whitespace changes. Show changes Loading
admin_toolbar_links_access_filter/admin_toolbar_links_access_filter.module +4 −3 Original line number Diff line number Diff line Loading @@ -102,8 +102,8 @@ function admin_toolbar_links_access_filter_filter_non_accessible_links(array &$i // Every child item has been cleared out. // Now check, if the given route represents an overview page only, // without having functionality on its own. In this case, we can safely // unset this item, as there aren't any children left. // without having functionality on its own. In this case, we can // safely unset this item, as there aren't any children left. // This assumption is only valid, when the admin_toolbar module is // installed because otherwise we won't have child items at all. if (admin_toolbar_links_access_filter_is_overview_page($route_name)) { Loading @@ -120,7 +120,8 @@ function admin_toolbar_links_access_filter_filter_non_accessible_links(array &$i } } } } catch (\UnexpectedValueException $e) { } catch (\UnexpectedValueException $e) { // Skip on errors like "base:block has no corresponding route": \Drupal::logger('my_module')->error($e->getMessage()); continue; Loading
admin_toolbar_tools/src/AdminToolbarToolsHelper.php +2 −2 Original line number Diff line number Diff line Loading @@ -114,8 +114,8 @@ class AdminToolbarToolsHelper { // We can't use #lazy_builder here because // ToolbarItem::preRenderToolbarItem will insert #attributes before // lazy_builder callback and this will produce Exception. // This means that for now we always render Local Tasks item even when // the tray is empty. // This means that for now we always render Local Tasks item even // when the tray is empty. '#type' => 'link', '#title' => $this->t('Local Tasks'), '#url' => Url::fromRoute('<none>'), Loading
admin_toolbar_search/css/admin.toolbar_search.css +1 −1 File changed.Contains only whitespace changes. Show changes