| Current Path : /home/rtorresani/www/vendor/magento/module-bundle/Block/Adminhtml/Catalog/Product/Edit/ |
| Current File : //home/rtorresani/www/vendor/magento/module-bundle/Block/Adminhtml/Catalog/Product/Edit/Tabs.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit;
/**
* Adminhtml product edit tabs
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Tabs extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tabs
{
/**
* @var string
*/
protected $_attributeTabBlock = \Magento\Bundle\Block\Adminhtml\Catalog\Product\Edit\Tab\Attributes::class;
/**
* @return $this|void
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
$this->addTab(
'bundle_items',
[
'label' => __('Bundle Items'),
'url' => $this->getUrl('adminhtml/*/bundles', ['_current' => true]),
'class' => 'ajax'
]
);
$this->bindShadowTabs('bundle_items', 'customer_options');
}
}