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