Skip to content
Snippets Groups Projects
Commit b332a85b authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1552744 by Rob Loach, effulgentsia, sun: Fixed Bootstrap for the...

- Patch #1552744 by Rob Loach, effulgentsia, sun: Fixed Bootstrap for the Dependency Injection Container and make sure SimpleTest abides to it.
parent e971776b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
<?php
/**
* @file
* Definition of Drupal\Core\DependencyInjection\Container.
*/
namespace Drupal\Core\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder as BaseContainerBuilder;
/**
* Drupal's dependency injection container.
*/
class ContainerBuilder extends BaseContainerBuilder {
/**
* Registers the base Drupal services for the dependency injection container.
*/
public function __construct() {
parent::__construct();
// An interface language always needs to be available for t() and other
// functions. This default is overridden by drupal_language_initialize()
// during language negotiation.
$this->register(LANGUAGE_TYPE_INTERFACE, 'Drupal\\Core\\Language\\Language');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment