Renaming the method that adds language services to the container

8.0.x
Katherine Bailey 2012-06-30 22:14:22 -07:00
parent f56ccb3b2f
commit 8122811d2a
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class DrupalBundle extends Bundle
$container->setDefinition($id, $definition);
}
$this->registerLanguages($container);
$this->registerLanguageServices($container);
// Add a compiler pass for registering event subscribers.
$container->addCompilerPass(new RegisterKernelListenersPass(), PassConfig::TYPE_AFTER_REMOVING);
@ -128,7 +128,7 @@ class DrupalBundle extends Bundle
/**
* Registers language-related services to the container.
*/
function registerLanguages($container) {
function registerLanguageServices($container) {
$types = language_types_get_all();