main/core/Listener/Administration/LogsListener.php
public function onDisplayTool(OpenAdministrationToolEvent $event)
    {
        $content = $this->templating->render(
            'ClarolineCoreBundle:administration:logs.html.twig', [
                'actions' => $this->eventManager->getEventsForApiFilter(LogGenericEvent::DISPLAYED_ADMIN),
            ]
        );

        $event->setResponse(new Response($content));
        $event->stopPropagation();
    }
public function onDisplayTool(OpenAdministrationToolEvent $event)
    {
        $content = $this->templating->render(
            'ClarolineCoreBundle:administration:logs.html.twig', [
                'actions' => $this->eventManager->getEventsForApiFilter(LogGenericEvent::DISPLAYED_ADMIN),
            ]
        );

        $event->setResponse(new Response($content));
        $event->stopPropagation();
    }
public function onDisplayTool ( OpenAdministrationToolEvent $ event ) { $ content = $ this -> templating -> render ( 'ClarolineCoreBundle:administration:logs.html.twig' , [ 'actions' => $ this -> eventManager -> getEventsForApiFilter ( LogGenericEvent :: DISPLAYED_ADMIN ) , ] ) ; $ event -> setResponse ( new Response ( $ content ) ) ; $ event -> stopPropagation ( ) ; }
Displays logs administration tool.

@DI\Observe("administration_tool_platform_logs")

@param OpenAdministrationToolEvent $event
Displays logs administration tool .