![]() 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/Porto/Block/Adminhtml/Form/Field/ |
<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ /** * Adminhtml catalog inventory "Minimum Qty Allowed in Shopping Cart" field * * @author Magento Core Team <[email protected]> */ namespace Smartwave\Porto\Block\Adminhtml\Form\Field; class Customattrtabs extends \Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray { /** * Prepare to render * * @return void */ protected function _prepareToRender() { $this->addColumn('tab_title', ['label' => __('Title')]); $this->addColumn('attribute_code', ['label' => __('Attribute')]); $this->addColumn('category_ids', ['label' => __('Categories')]); $this->addColumn('product_skus', ['label' => __('Products')]); $this->addColumn('sort_order', ['label' => __('Order')]); $this->_addAfter = false; $this->_addButtonLabel = __('Add Tab'); } }