Elcodi\Plugin\StoreSetupWizardBundle\Templating\TwigRenderer::renderEnableStoreMessage PHP Метод

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

Render the message to enable store.
public renderEnableStoreMessage ( Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface $event )
$event Elcodi\Component\Plugin\EventDispatcher\Interfaces\EventInterface The event
    public function renderEnableStoreMessage(EventInterface $event)
    {
        if ($this->plugin->isUsable()) {
            $masterRequest = $this->requestStack->getMasterRequest();
            $route = $masterRequest->attributes->get('_route');
            if ($this->wizardStatus->isWizardFinished() && 'admin_configuration_list' != $route) {
                $this->appendTemplate('@ElcodiStoreSetupWizard/Wizard/enable-store.html.twig', $event, $this->plugin);
            }
        }
    }