Skip to content
Snippets Groups Projects
Commit 04a7f45f authored by Matthijs Van Assche's avatar Matthijs Van Assche Committed by Gaus Surahman
Browse files

Issue #3390158 by Matthijs: Use LanguageManagerInterface in BlazyBase

parent bec78a61
No related branches found
No related tags found
No related merge requests found
Pipeline #24474 passed
Blazy 8.x-2.0-dev, 2023-09-28
------------------------------
- Issue #3390158 by Matthijs: Use LanguageManagerInterface in BlazyBase.
- Issue #3390209 by gausarts, Luispe: Field Formatter lose "View mode".
Blazy 8.x-2.0-dev, 2023-09-23
......
......@@ -15,7 +15,7 @@ use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityRepositoryInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\Language\LanguageManager;
use Drupal\Core\Language\LanguageManagerInterface;
use Drupal\Core\Render\RendererInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Symfony\Component\DependencyInjection\ContainerInterface;
......@@ -81,7 +81,7 @@ abstract class BlazyBase implements BlazyInterface {
/**
* The language manager.
*
* @var \Drupal\Core\Language\LanguageManager
* @var \Drupal\Core\Language\LanguageManagerInterface
*/
protected $languageManager;
......@@ -129,7 +129,7 @@ abstract class BlazyBase implements BlazyInterface {
RendererInterface $renderer,
ConfigFactoryInterface $config_factory,
CacheBackendInterface $cache,
LanguageManager $language_manager
LanguageManagerInterface $language_manager
) {
// @todo enable at 3.x:
// $this->libraries = $libraries;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment