public renderJavascript ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event ) | ||
$event | Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface | The event |
public function renderJavascript(EventInterface $event)
{
if ($this->plugin->isUsable()) {
$this->appendTemplate('@ElcodiFacebook/javascript.html.twig', $event, $this->plugin);
}
}