main/core/Listener/Administration/ScheduledTaskListener.php
public function onDisplayTool(OpenAdministrationToolEvent $event)
    {
        $content = $this->templating->render(
            'ClarolineCoreBundle:administration:scheduled_tasks.html.twig', [
                'isCronConfigured' => $this->configHandler->hasParameter('is_cron_configured') && $this->configHandler->getParameter('is_cron_configured'),
            ]
        );

        $event->setResponse(new Response($content));
        $event->stopPropagation();
    }
public function onDisplayTool(OpenAdministrationToolEvent $event)
    {
        $content = $this->templating->render(
            'ClarolineCoreBundle:administration:scheduled_tasks.html.twig', [
                'isCronConfigured' => $this->configHandler->hasParameter('is_cron_configured') && $this->configHandler->getParameter('is_cron_configured'),
            ]
        );

        $event->setResponse(new Response($content));
        $event->stopPropagation();
    }
public function onDisplayTool ( OpenAdministrationToolEvent $ event ) { $ content = $ this -> templating -> render ( 'ClarolineCoreBundle:administration:scheduled_tasks.html.twig' , [ 'isCronConfigured' => $ this -> configHandler -> hasParameter ( 'is_cron_configured' ) && $ this -> configHandler -> getParameter ( 'is_cron_configured' ) , ] ) ; $ event -> setResponse ( new Response ( $ content ) ) ; $ event -> stopPropagation ( ) ; }
Displays scheduled tasks administration tool.

@DI\Observe("administration_tool_tasks_scheduling")

@param OpenAdministrationToolEvent $event
Displays scheduled tasks administration tool .