updated core from 8.4 to 8.5 : bug with login_destination
This commit is contained in:
@@ -426,7 +426,12 @@ class ConfigurableLanguageManager extends LanguageManager implements Configurabl
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
* Sets the configuration override language.
|
||||
*
|
||||
* @param \Drupal\Core\Language\LanguageInterface $language
|
||||
* The language to override configuration with.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setConfigOverrideLanguage(LanguageInterface $language = NULL) {
|
||||
$this->configFactoryOverride->setLanguage($language);
|
||||
|
||||
@@ -11,6 +11,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
|
||||
/**
|
||||
* Configure the content language settings for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class ContentLanguageSettingsForm extends FormBase {
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ use Drupal\language\Entity\ConfigurableLanguage;
|
||||
|
||||
/**
|
||||
* Controller for language addition forms.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class LanguageAddForm extends LanguageFormBase {
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ use Drupal\Core\Entity\EntityDeleteForm;
|
||||
|
||||
/**
|
||||
* Defines a confirmation form for deleting a language entity.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class LanguageDeleteForm extends EntityDeleteForm {
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ use Drupal\Core\Form\FormStateInterface;
|
||||
|
||||
/**
|
||||
* Controller for language edit forms.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class LanguageEditForm extends LanguageFormBase {
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ use Drupal\Core\Url;
|
||||
|
||||
/**
|
||||
* Defines a confirmation form for deleting a browser language negotiation mapping.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class NegotiationBrowserDeleteForm extends ConfirmFormBase {
|
||||
use ConfigFormBaseTrait;
|
||||
|
||||
@@ -11,6 +11,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
|
||||
/**
|
||||
* Configure the browser language negotiation method for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class NegotiationBrowserForm extends ConfigFormBase {
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
|
||||
/**
|
||||
* Configure the selected language negotiation method for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class NegotiationConfigureForm extends ConfigFormBase {
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@ use Drupal\Core\Form\ConfigFormBase;
|
||||
|
||||
/**
|
||||
* Configure the selected language negotiation method for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class NegotiationSelectedForm extends ConfigFormBase {
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ use Drupal\Core\Form\FormStateInterface;
|
||||
|
||||
/**
|
||||
* Configure the session language negotiation method for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class NegotiationSessionForm extends ConfigFormBase {
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@ use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl;
|
||||
|
||||
/**
|
||||
* Configure the URL language negotiation method for this site.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
class NegotiationUrlForm extends ConfigFormBase {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user