![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/app/code/Smartwave/Megamenu/Model/Attribute/ |
<?php namespace Smartwave\Megamenu\Model\Attribute; class Subcatcolumns extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource { public function getAllOptions() { if (!$this->_options) { $this->_options = [ ['value' => '', 'label' => __('Default')], ['value' => '1', 'label' => __('1 Column')], ['value' => '2', 'label' => __('2 Columns')], ['value' => '3', 'label' => __('3 Columns')], ['value' => '4', 'label' => __('4 Columns')], ['value' => '5', 'label' => __('5 Columns')], ['value' => '6', 'label' => __('6 Columns')], ['value' => '7', 'label' => __('7 Columns')], ['value' => '8', 'label' => __('8 Columns')], ['value' => '9', 'label' => __('9 Columns')], ['value' => '10', 'label' => __('10 Columns')], ['value' => '11', 'label' => __('11 Columns')], ['value' => '12', 'label' => __('12 Columns')] ]; } return $this->_options; } }