public function renderFollowButton(EventInterface $event) { if ($this->plugin->isUsable(['twitter_account'])) { $this->appendTemplate('@ElcodiTwitter/Follow/follow.html.twig', $event, $this->plugin); } }