Commit 57451187 authored by catch's avatar catch
Browse files

Issue #3316136 by julien.sibi, flocondetoile: LanguageNegotiationInterface.php...

Issue #3316136 by julien.sibi, flocondetoile: LanguageNegotiationInterface.php : function's name error in docblock

(cherry picked from commit e7cfffef)
parent 840d04be
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -76,11 +76,11 @@
 * }
 *
 * class MyLanguageNegotiationUrl extends LanguageNegotiationUrl {
 *   public function getCurrentLanguage(Request $request = NULL) {
 *   public function getLangcode(Request $request = NULL) {
 *     if ($request) {
 *       // Use the original URL language negotiation method to get a valid
 *       // language code.
 *       $langcode = parent::getCurrentLanguage($request);
 *       $langcode = parent::getLangcode($request);
 *
 *       // If we are on an administrative path, override with the default
 *       language.