Your IP : 127.0.0.1
<?php
/**
* BSS Commerce Co.
*
* NOTICE OF LICENSE
*
* This source file is subject to the EULA
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://bsscommerce.com/Bss-Commerce-License.txt
*
* @category BSS
* @package Bss_Popup
* @author Extension Team
* @copyright Copyright (c) 2018-2019 BSS Commerce Co. ( http://bsscommerce.com )
* @license http://bsscommerce.com/Bss-Commerce-License.txt
*/
namespace Bss\Popup\Model\Source;
class Store extends \Magento\Store\Model\ResourceModel\Store\Collection
{
/**
* To Option Array
*
* @return array
*/
public function toOptionArray()
{
$data = $this->_toOptionArray('store_id', 'name');
$data[] = ["value" => 0, "label" => __("All Store View")];
return $data;
}
}