You are here

public function DisableLanguageSettings::setExtraServices in Disable language 8

Sets extra services during class creation.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

File

src/Form/DisableLanguageSettings.php, line 46

Class

DisableLanguageSettings
Class DisableLanguageSettings.

Namespace

Drupal\disable_language\Form

Code

public function setExtraServices(ContainerInterface $container) {
  $this->routeProvider = $container
    ->get('router.route_provider');
  $this->conditionManager = $container
    ->get('plugin.manager.condition');
}