Skip to content
Snippets Groups Projects
Commit 8122811d authored by Katherine Bailey's avatar Katherine Bailey
Browse files

Renaming the method that adds language services to the container

parent f56ccb3b
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
...@@ -42,7 +42,7 @@ public function build(ContainerBuilder $container) ...@@ -42,7 +42,7 @@ public function build(ContainerBuilder $container)
$container->setDefinition($id, $definition); $container->setDefinition($id, $definition);
} }
$this->registerLanguages($container); $this->registerLanguageServices($container);
// Add a compiler pass for registering event subscribers. // Add a compiler pass for registering event subscribers.
$container->addCompilerPass(new RegisterKernelListenersPass(), PassConfig::TYPE_AFTER_REMOVING); $container->addCompilerPass(new RegisterKernelListenersPass(), PassConfig::TYPE_AFTER_REMOVING);
...@@ -128,7 +128,7 @@ function getDefinitions() { ...@@ -128,7 +128,7 @@ function getDefinitions() {
/** /**
* Registers language-related services to the container. * Registers language-related services to the container.
*/ */
function registerLanguages($container) { function registerLanguageServices($container) {
$types = language_types_get_all(); $types = language_types_get_all();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment