Your IP : 127.0.0.1


Current Path : /home/dev2.destoffenstraat.com/app/code/WeSupply/Toolbox/Block/Widget/
Upload File :
Current File : /home/dev2.destoffenstraat.com/app/code/WeSupply/Toolbox/Block/Widget/Notificationwidget.php

<?php
namespace  WeSupply\Toolbox\Block\Widget;

use Magento\Widget\Block\BlockInterface;
use WeSupply\Toolbox\Model\Config\Source\NotificationDesignType;
use WeSupply\Toolbox\Block\Notification;

class Notificationwidget extends Notification implements BlockInterface
{

    protected $_template = "widget/notificationwidget.phtml";



    /**
     * @return mixed
     */
    public function getDesign()
    {
        if(!$this->getData('widget_design')){
            $this->setData('widget_design',parent::getDesign());
        }
        return $this->getData('widget_design');
    }

    /**
     * @return string
     */
    public function getWidgetLocationType()
    {
        return NotificationDesignType::SECOND_TYPE_CODE;
    }

}