Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LanguageNegotiationMethodInterface.php

function LanguageNegotiationMethodInterface::setConfig

Injects the configuration factory.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config: The configuration factory.

1 method overrides LanguageNegotiationMethodInterface::setConfig()
LanguageNegotiationMethodBase::setConfig in core/modules/language/src/LanguageNegotiationMethodBase.php
Injects the configuration factory.

File

core/modules/language/src/LanguageNegotiationMethodInterface.php, line 30

Class

LanguageNegotiationMethodInterface
Interface for language negotiation classes.

Namespace

Drupal\language

Code

public function setConfig(ConfigFactoryInterface $config);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal