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