Layout.php 683 B

123456789101112131415
  1. <?php
  2. namespace Smartwave\Porto\Model\Config\Settings\Page;
  3. class Layout implements \Magento\Framework\Option\ArrayInterface
  4. {
  5. public function toOptionArray()
  6. {
  7. return [['value' => '1column', 'label' => __('1 Column')], ['value' => '2columns-left', 'label' => __('2 Columns with Left Sidebar')], ['value' => '2columns-right', 'label' => __('2 Columns with Right Sidebar')], ['value' => '3columns', 'label' => __('3 Columns')]];
  8. }
  9. public function toArray()
  10. {
  11. return ['1column' => __('1 Column'), '2columns-left' => __('2 Columns with Left Sidebar'), '2columns-right' => __('2 Columns with Right Sidebar'), '3columns' => __('3 Columns')];
  12. }
  13. }