main/core/Listener/Administration/ParametersListener.php
public function onDisplayTool(OpenAdministrationToolEvent $event)
    {
        $content = $this->templating->render(
            'ClarolineCoreBundle:administration:parameters.html.twig', [
                'context' => [
                    'type' => Tool::ADMINISTRATION,
                ],
                'parameters' => $this->serializer->serialize(),
                'availableLocales' => array_keys($this->localeManager->getImplementedLocales()),
            ]
        );

        $event->setResponse(new Response($content));
        $event->stopPropagation();
    }
public function onDisplayTool(OpenAdministrationToolEvent $event)
    {
        $content = $this->templating->render(
            'ClarolineCoreBundle:administration:parameters.html.twig', [
                'context' => [
                    'type' => Tool::ADMINISTRATION,
                ],
                'parameters' => $this->serializer->serialize(),
                'availableLocales' => array_keys($this->localeManager->getImplementedLocales()),
            ]
        );

        $event->setResponse(new Response($content));
        $event->stopPropagation();
    }
public function onDisplayTool ( OpenAdministrationToolEvent $ event ) { $ content = $ this -> templating -> render ( 'ClarolineCoreBundle:administration:parameters.html.twig' , [ 'context' => [ 'type' => Tool :: ADMINISTRATION , ] , 'parameters' => $ this -> serializer -> serialize ( ) , 'availableLocales' => array_keys ( $ this -> localeManager -> getImplementedLocales ( ) ) , ] ) ; $ event -> setResponse ( new Response ( $ content ) ) ; $ event -> stopPropagation ( ) ; }
Displays parameters administration tool.

@DI\Observe("administration_tool_main_settings")

@param OpenAdministrationToolEvent $event
Displays parameters administration tool .