Loading .gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,8 @@ # To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml include: - project: $_GITLAB_TEMPLATES_REPO ref: $_GITLAB_TEMPLATES_REF # Keep reference on 1.5.10 to support testing against actual current versions of Drupal. ref: "1.5.10" file: - "/includes/include.drupalci.main.yml" - "/includes/include.drupalci.variables.yml" Loading admin_toolbar.module +1 −1 Original line number Diff line number Diff line Loading @@ -5,10 +5,10 @@ * This is the module to create a drop-down menu for the core toolbar. */ use Drupal\admin_toolbar\Render\Element\AdminToolbar; use Drupal\Component\Utility\Html; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Url; use Drupal\admin_toolbar\Render\Element\AdminToolbar; /** * Implements hook_toolbar_alter(). Loading admin_toolbar_search/src/Controller/AdminToolbarSearchController.php +1 −1 Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ namespace Drupal\admin_toolbar_search\Controller; use Drupal\admin_toolbar_search\SearchLinks; use Drupal\Core\Controller\ControllerBase; use Drupal\admin_toolbar_search\SearchLinks; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\JsonResponse; Loading admin_toolbar_search/tests/src/FunctionalJavascript/AdminToolbarToolsSearchTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ namespace Drupal\Tests\admin_toolbar_search\FunctionalJavascript; use Drupal\media\Entity\MediaType; use Drupal\Tests\media\Traits\MediaTypeCreationTrait; use Drupal\media\Entity\MediaType; /** * Test the functionality of admin toolbar search. Loading admin_toolbar_tools/src/Plugin/Derivative/ExtraLinks.php +14 −10 Original line number Diff line number Diff line Loading @@ -486,21 +486,25 @@ class ExtraLinks extends DeriverBase implements ContainerDeriverInterface { // If module Update Manager is enabled. if ($this->moduleHandler->moduleExists('update')) { if (version_compare(\Drupal::VERSION, '11.0.0', '<')) { $links['update.module_install'] = [ 'title' => $this->t('Install new module'), 'route_name' => 'update.module_install', 'parent' => 'system.modules_list', ] + $base_plugin_definition; } $links['update.module_update'] = [ 'title' => $this->t('Update'), 'route_name' => 'update.module_update', 'parent' => 'system.modules_list', ] + $base_plugin_definition; if (version_compare(\Drupal::VERSION, '11.0.0', '<')) { $links['update.theme_install'] = [ 'title' => $this->t('Install new theme'), 'route_name' => 'update.theme_install', 'parent' => 'system.themes_page', ] + $base_plugin_definition; } $links['update.theme_update'] = [ 'title' => $this->t('Update'), 'route_name' => 'update.theme_update', Loading Loading
.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,8 @@ # To test a Drupal 7 project, change the first include filename from .main.yml to .main-d7.yml include: - project: $_GITLAB_TEMPLATES_REPO ref: $_GITLAB_TEMPLATES_REF # Keep reference on 1.5.10 to support testing against actual current versions of Drupal. ref: "1.5.10" file: - "/includes/include.drupalci.main.yml" - "/includes/include.drupalci.variables.yml" Loading
admin_toolbar.module +1 −1 Original line number Diff line number Diff line Loading @@ -5,10 +5,10 @@ * This is the module to create a drop-down menu for the core toolbar. */ use Drupal\admin_toolbar\Render\Element\AdminToolbar; use Drupal\Component\Utility\Html; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Url; use Drupal\admin_toolbar\Render\Element\AdminToolbar; /** * Implements hook_toolbar_alter(). Loading
admin_toolbar_search/src/Controller/AdminToolbarSearchController.php +1 −1 Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ namespace Drupal\admin_toolbar_search\Controller; use Drupal\admin_toolbar_search\SearchLinks; use Drupal\Core\Controller\ControllerBase; use Drupal\admin_toolbar_search\SearchLinks; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\JsonResponse; Loading
admin_toolbar_search/tests/src/FunctionalJavascript/AdminToolbarToolsSearchTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -2,8 +2,8 @@ namespace Drupal\Tests\admin_toolbar_search\FunctionalJavascript; use Drupal\media\Entity\MediaType; use Drupal\Tests\media\Traits\MediaTypeCreationTrait; use Drupal\media\Entity\MediaType; /** * Test the functionality of admin toolbar search. Loading
admin_toolbar_tools/src/Plugin/Derivative/ExtraLinks.php +14 −10 Original line number Diff line number Diff line Loading @@ -486,21 +486,25 @@ class ExtraLinks extends DeriverBase implements ContainerDeriverInterface { // If module Update Manager is enabled. if ($this->moduleHandler->moduleExists('update')) { if (version_compare(\Drupal::VERSION, '11.0.0', '<')) { $links['update.module_install'] = [ 'title' => $this->t('Install new module'), 'route_name' => 'update.module_install', 'parent' => 'system.modules_list', ] + $base_plugin_definition; } $links['update.module_update'] = [ 'title' => $this->t('Update'), 'route_name' => 'update.module_update', 'parent' => 'system.modules_list', ] + $base_plugin_definition; if (version_compare(\Drupal::VERSION, '11.0.0', '<')) { $links['update.theme_install'] = [ 'title' => $this->t('Install new theme'), 'route_name' => 'update.theme_install', 'parent' => 'system.themes_page', ] + $base_plugin_definition; } $links['update.theme_update'] = [ 'title' => $this->t('Update'), 'route_name' => 'update.theme_update', Loading