Skip to content
Snippets Groups Projects
Commit e2d09a24 authored by Patrick Fey's avatar Patrick Fey
Browse files

Issue #3461170 by FeyP: Switch to GitLab CI

parent cc50dca8
No related branches found
No related tags found
1 merge request!4Switch to GitLab CI
Pipeline #223402 failed
include:
- project: $_GITLAB_TEMPLATES_REPO
ref: 'main'
file:
- '/includes/include.drupalci.main.yml'
- '/includes/include.drupalci.variables.yml'
- '/includes/include.drupalci.workflows.yml'
variables:
OPT_IN_TEST_NEXT_MAJOR: '1'
OPT_IN_TEST_NEXT_MINOR: '1'
OPT_IN_TEST_PREVIOUS_MINOR: '1'
RUN_JOB_UPGRADE_STATUS: '1'
_CURL_TEMPLATES_REF: 'main'
<!--- cspell:ignore werk21 -->
# CONTENTS OF THIS FILE
* Introduction
......@@ -140,7 +141,7 @@ language switcher links:
# MAINTAINERS
Current maintainers:
* Patrick Fey (feyp) - https://drupal.org/u/feyp
See maintainers list on [the module's project page](https://www.drupal.org/project/language_switcher_menu).
This project has been partly sponsored by:
* [werk21 GmbH](http://www.werk21.de )
......@@ -3,4 +3,4 @@ configure language_switcher_menu:
description: 'Allows access to the module configuration page.'
view language_switcher_menu links:
title: 'View Language Switcher Menu links'
description: 'Allows to view the language switcher menu links.<br><em>Note: This permission has been added as part of a woraround for <a href="https://www.drupal.org/project/drupal/issues/3008889">Drupal Core issue 3008889</a> and will be removed with that workaround in a future release.</em>'
description: 'Allows to view the language switcher menu links.<br><em>Note: This permission has been added as part of a workaround for <a href="https://www.drupal.org/project/drupal/issues/3008889">Drupal Core issue 3008889</a> and will be removed with that workaround in a future release.</em>'
......@@ -89,7 +89,7 @@ class LanguageSwitcherLink extends DeriverBase implements ContainerDeriverInterf
'metadata' => [
'language' => $language,
'langcode' => $langcode,
'langtype' => $type,
'lang_type' => $type,
],
'route_name' => '<current>',
'route_parameters' => [],
......
......@@ -2,11 +2,11 @@
namespace Drupal\language_switcher_menu\Plugin\Menu;
use Drupal\Core\Url;
use Drupal\Core\Language\LanguageManagerInterface;
use Drupal\Core\Menu\MenuLinkDefault;
use Drupal\Core\Menu\StaticMenuLinkOverridesInterface;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
/**
......@@ -140,7 +140,7 @@ class LanguageSwitcherLink extends MenuLinkDefault {
* Language type.
*/
protected function getLanguageType(): string {
return $this->pluginDefinition['metadata']['langtype'];
return $this->pluginDefinition['metadata']['lang_type'];
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment