Loading .gitlab-ci.yml +7 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,13 @@ variables: OPT_IN_TEST_NEXT_MAJOR: 1 OPT_IN_TEST_MAX_PHP: 1 # # PHPCS overrides and configuration. # phpcs: # Require phpcs to pass. allow_failure: false # # Stylelint overrides and configuration. # Loading admin_toolbar.install +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ function admin_toolbar_update_8002() { } /** * Uninstall Admin Toolbar Links Access Filter for Drupal 10.3+ * Uninstall Admin Toolbar Links Access Filter for Drupal 10.3+. * * @see https://www.drupal.org/project/admin_toolbar/issues/3463291 */ Loading admin_toolbar.module +2 −1 Original line number Diff line number Diff line Loading @@ -6,9 +6,9 @@ */ use Drupal\admin_toolbar\Render\Element\AdminToolbar; use Drupal\Component\Utility\Html; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Url; use Drupal\Component\Utility\Html; /** * Implements hook_toolbar_alter(). Loading Loading @@ -57,6 +57,7 @@ function admin_toolbar_help($route_name, RouteMatchInterface $route_match) { * @return \Drupal\Core\Menu\MenuLinkTreeElement[] * The manipulated menu link tree. */ // phpcs:ignore Drupal.NamingConventions.ValidFunctionName.InvalidPrefix, Drupal.Commenting.FunctionComment.Missing function toolbar_tools_menu_navigation_links(array $tree) { foreach ($tree as $element) { if ($element->subtree) { Loading admin_toolbar_links_access_filter/admin_toolbar_links_access_filter.module +1 −1 Original line number Diff line number Diff line Loading @@ -5,10 +5,10 @@ * This module don't show menu links that you don't have access permission for. */ use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Session\AccountInterface; use Drupal\user\Entity\Role; use Symfony\Component\Routing\Exception\RouteNotFoundException; use Drupal\Core\Routing\RouteMatchInterface; /** * Implements hook_help(). Loading admin_toolbar_search/admin_toolbar_search.module +1 −1 Original line number Diff line number Diff line Loading @@ -5,8 +5,8 @@ * Functionality for search of Admin Toolbar. */ use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\Core\Url; /** Loading Loading
.gitlab-ci.yml +7 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,13 @@ variables: OPT_IN_TEST_NEXT_MAJOR: 1 OPT_IN_TEST_MAX_PHP: 1 # # PHPCS overrides and configuration. # phpcs: # Require phpcs to pass. allow_failure: false # # Stylelint overrides and configuration. # Loading
admin_toolbar.install +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ function admin_toolbar_update_8002() { } /** * Uninstall Admin Toolbar Links Access Filter for Drupal 10.3+ * Uninstall Admin Toolbar Links Access Filter for Drupal 10.3+. * * @see https://www.drupal.org/project/admin_toolbar/issues/3463291 */ Loading
admin_toolbar.module +2 −1 Original line number Diff line number Diff line Loading @@ -6,9 +6,9 @@ */ use Drupal\admin_toolbar\Render\Element\AdminToolbar; use Drupal\Component\Utility\Html; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Url; use Drupal\Component\Utility\Html; /** * Implements hook_toolbar_alter(). Loading Loading @@ -57,6 +57,7 @@ function admin_toolbar_help($route_name, RouteMatchInterface $route_match) { * @return \Drupal\Core\Menu\MenuLinkTreeElement[] * The manipulated menu link tree. */ // phpcs:ignore Drupal.NamingConventions.ValidFunctionName.InvalidPrefix, Drupal.Commenting.FunctionComment.Missing function toolbar_tools_menu_navigation_links(array $tree) { foreach ($tree as $element) { if ($element->subtree) { Loading
admin_toolbar_links_access_filter/admin_toolbar_links_access_filter.module +1 −1 Original line number Diff line number Diff line Loading @@ -5,10 +5,10 @@ * This module don't show menu links that you don't have access permission for. */ use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Session\AccountInterface; use Drupal\user\Entity\Role; use Symfony\Component\Routing\Exception\RouteNotFoundException; use Drupal\Core\Routing\RouteMatchInterface; /** * Implements hook_help(). Loading
admin_toolbar_search/admin_toolbar_search.module +1 −1 Original line number Diff line number Diff line Loading @@ -5,8 +5,8 @@ * Functionality for search of Admin Toolbar. */ use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\StringTranslation\TranslatableMarkup; use Drupal\Core\Url; /** Loading