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