public function renderAsynchronousJavascript(EventInterface $event) { if ($this->plugin->isUsable(['asynchronous'])) { $this->appendTemplate('@ElcodiPinterest/javascript_asynchronous.html.twig', $event, $this->plugin); } }