From 7f8c7c02529f1352a7761ff504e3486d08dde684 Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Thu, 26 Jun 2014 13:29:37 +0100
Subject: [PATCH] Issue #2214057 by g3r4: Remove obsolete
 LanguageManagerInterface::init() method.

---
 core/lib/Drupal/Core/Language/LanguageManager.php          | 6 ------
 core/lib/Drupal/Core/Language/LanguageManagerInterface.php | 5 -----
 2 files changed, 11 deletions(-)

diff --git a/core/lib/Drupal/Core/Language/LanguageManager.php b/core/lib/Drupal/Core/Language/LanguageManager.php
index c77345ec601c..0072f0cf6218 100644
--- a/core/lib/Drupal/Core/Language/LanguageManager.php
+++ b/core/lib/Drupal/Core/Language/LanguageManager.php
@@ -64,12 +64,6 @@ protected function t($string, array $args = array(), array $options = array()) {
     return $this->translation ? $this->translation->translate($string, $args, $options) : String::format($string, $args);
   }
 
-  /**
-   * {@inheritdoc}
-   */
-  public function init() {
-  }
-
   /**
    * {@inheritdoc}
    */
diff --git a/core/lib/Drupal/Core/Language/LanguageManagerInterface.php b/core/lib/Drupal/Core/Language/LanguageManagerInterface.php
index dd481a7fbcf8..b3f0272720b1 100644
--- a/core/lib/Drupal/Core/Language/LanguageManagerInterface.php
+++ b/core/lib/Drupal/Core/Language/LanguageManagerInterface.php
@@ -22,11 +22,6 @@ interface LanguageManagerInterface {
    */
   public function setTranslation(TranslationInterface $translation);
 
-  /**
-   * Initializes each language type to a language object.
-   */
-  public function init();
-
   /**
    * Returns whether or not the site has more than one language added.
    *
-- 
GitLab