Loading core/modules/language/src/LanguageNegotiationMethodManager.php +1 −7 Original line number Diff line number Diff line Loading @@ -11,11 +11,6 @@ */ class LanguageNegotiationMethodManager extends DefaultPluginManager { /** * The cache key prefix. */ protected string $cacheKeyPrefix; /** * Constructs a new LanguageNegotiationMethodManager object. * Loading @@ -30,8 +25,7 @@ class LanguageNegotiationMethodManager extends DefaultPluginManager { public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) { parent::__construct('Plugin/LanguageNegotiation', $namespaces, $module_handler, 'Drupal\language\LanguageNegotiationMethodInterface', 'Drupal\language\Annotation\LanguageNegotiation'); $this->cacheBackend = $cache_backend; $this->cacheKeyPrefix = 'language_negotiation_plugins'; $this->cacheKey = 'language_negotiation_plugins'; $this->setCacheBackend($cache_backend, 'language_negotiation_plugins'); $this->alterInfo('language_negotiation_info'); } Loading Loading
core/modules/language/src/LanguageNegotiationMethodManager.php +1 −7 Original line number Diff line number Diff line Loading @@ -11,11 +11,6 @@ */ class LanguageNegotiationMethodManager extends DefaultPluginManager { /** * The cache key prefix. */ protected string $cacheKeyPrefix; /** * Constructs a new LanguageNegotiationMethodManager object. * Loading @@ -30,8 +25,7 @@ class LanguageNegotiationMethodManager extends DefaultPluginManager { public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) { parent::__construct('Plugin/LanguageNegotiation', $namespaces, $module_handler, 'Drupal\language\LanguageNegotiationMethodInterface', 'Drupal\language\Annotation\LanguageNegotiation'); $this->cacheBackend = $cache_backend; $this->cacheKeyPrefix = 'language_negotiation_plugins'; $this->cacheKey = 'language_negotiation_plugins'; $this->setCacheBackend($cache_backend, 'language_negotiation_plugins'); $this->alterInfo('language_negotiation_info'); } Loading