/**
  * @DI\Observe("inject_javascript_layout")
  *
  * @param InjectJavascriptEvent $event
  * @return string
  */
 public function onInjectJs(InjectJavascriptEvent $event)
 {
     $content = $this->templating->render('InwicastClarolinePluginBundle:Inwicast:javascript_layout.html.twig', array());
     $event->addContent($content);
 }
Ejemplo n.º 2
0
 /**
  * @DI\Observe("inject_javascript_layout")
  *
  * @param InjectJavascriptEvent $event
  *
  * @return string
  */
 public function onInjectJs(InjectJavascriptEvent $event)
 {
     $content = $this->templating->render('ClarolineVideoPlayerBundle::scripts.html.twig', []);
     $event->addContent($content);
 }
 /**
  * @DI\Observe("inject_javascript_layout")
  *
  * @param InjectJavascriptEvent $event
  *
  * @return string
  */
 public function onInjectJs(InjectJavascriptEvent $event)
 {
     $content = $this->templating->render('IcapFormulaPluginBundle:Formula:plugin.js.html.twig', array());
     $event->addContent($content);
 }