Elcodi\Plugin\TwitterBundle\Templating\FollowRenderer::renderFollowButton PHP Метод

renderFollowButton() публичный Метод

Renders the follow button.
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(['twitter_account'])) {
            $this->appendTemplate('@ElcodiTwitter/Follow/follow.html.twig', $event, $this->plugin);
        }
    }