作者:colinn
项目:Shop123_C
protected function _construct()
{
$this->_controller = 'log';
$this->_headerText = __('Push Log');
parent::_construct();
$this->buttonList->remove('add');
}
作者:stepzerosolution
项目:tbslide
/**
* Block constructor
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'tbslider_slideritems';
$this->_headerText = __('Slider Items');
$this->_addButtonLabel = __('Add Slider Item');
parent::_construct();
}
作者:kietlu
项目:magento2-backend-trainin
/**
* Constructor
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'banners';
$this->_headerText = __('Banners');
$this->_addButtonLabel = __('Add New Banners');
parent::_construct();
}
作者:Doabilit
项目:magento2de
/**
* Constructor
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'adminhtml_index';
$this->_blockGroup = 'Mirasvit_Search';
$this->_addButtonLabel = __('Add New Search Index');
parent::_construct();
}
作者:kidaa3
项目:magento2-platforms
/**
* @return void
*/
protected function _construct()
{
$this->_controller = 'term';
$this->_headerText = __('Search');
$this->_addButtonLabel = __('Add New Search Term');
parent::_construct();
}
作者:pradeep-wagent
项目:magento
/**
* Modify header & button labels
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'customer_group';
$this->_headerText = __('Customer Groups');
$this->_addButtonLabel = __('Add New Customer Group');
parent::_construct();
}
作者:outeredg
项目:magento-layout-modul
protected function _prepareLayout()
{
$addButtonProps = ['id' => 'add_new_grid', 'label' => __('Add New Group'), 'class' => 'add', 'button_class' => '', 'class_name' => 'Magento\\Backend\\Block\\Widget\\Button\\SplitButton', 'options' => $this->_getAddButtonOptions()];
$this->buttonList->add('add_new', $addButtonProps);
$this->setChild('grid', $this->getLayout()->createBlock('OuterEdge\\Layout\\Block\\Adminhtml\\Groups\\Grid', 'layout.view.groups'));
return parent::_prepareLayout();
}
作者:shockwavem
项目:magento2-module-mai
/**
* @return void
*/
protected function _construct()
{
$this->_controller = 'adminhtml';
$this->_blockGroup = 'Shockwavemk_Mail_Base';
$this->_headerText = __('Review Transactional Mails');
parent::_construct();
}
作者:etwandr
项目:magento
protected function _construct()
{
$this->_controller = 'expressly_dashboard';
$this->_blockGroup = 'Expressly_Expressly';
$this->_headerText = __('Expressly Dashboard');
parent::_construct();
}
作者:remarket
项目:mgconnecto
protected function _construct()
{
$this->_controller = 'adminhtml_queue';
$this->_blockGroup = 'Remarkety_Mgconnector';
$this->removeButton('add_button');
parent::_construct();
}
作者:dragonsword00700
项目:magento
protected function _construct()
{
parent::_construct();
$this->buttonList->remove('add');
$this->_blockGroup = 'Magenest_Subscription';
$this->_controller = 'adminhtml_profile_view_tabs_relatedOrder';
}
作者:smile-s
项目:elasticsuit
/**
* @SuppressWarnings(PHPMD.CamelCaseMethodName)
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'thesaurus';
$this->_headerText = __('Thesaurus');
$this->_addButtonLabel = __('Add New Thesaurus');
parent::_construct();
}
作者:outeredg
项目:magento-layout-modul
protected function _prepareLayout()
{
$this->_idGroup = $this->getRequest()->getParam('group_id');
$addButtonProps = ['id' => 'add_new_grid', 'label' => __('Add New Element'), 'class' => 'action-default scalable add primary', 'onclick' => "setLocation('" . $this->_getCreateUrl() . "')"];
$this->buttonList->add('add_new', $addButtonProps);
$this->setChild('grid', $this->getLayout()->createBlock('OuterEdge\\Layout\\Block\\Adminhtml\\Elements\\Grid', 'layout.view.elements'));
return parent::_prepareLayout();
}
作者:Rapidmag
项目:Firewal
/**
* Constructor
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'adminhtml_rules';
$this->_blockGroup = 'Rapidmage_Firewall';
$this->_headerText = __('Manage Rules');
$this->_addButtonLabel = __('Add Rules');
parent::_construct();
}
作者:mrtuv
项目:m2ce.de
protected function _construct()
{
$this->_controller = "adminhtml_banner";
$this->_blockGroup = 'Tuna_BannerSlider';
$this->_headerText = __('Banners');
$this->_addButtonLabel = __('Add New Banner');
parent::_construct();
}
作者:aies
项目:magento
/**
* Initialize billing agreements grid container
*
* @return void
*/
protected function _construct()
{
$this->_controller = 'adminhtml_billing_agreement';
$this->_blockGroup = 'Magento_Paypal';
$this->_headerText = __('Billing Agreements');
parent::_construct();
$this->buttonList->remove('add');
}
作者:aies
项目:magento
/**
* @return void
*/
protected function _construct()
{
$this->_blockGroup = 'Magento_GoogleShopping';
$this->_controller = 'adminhtml_types';
$this->_addButtonLabel = __('Add Attribute Mapping');
$this->_headerText = __('Manage Attribute Mapping');
parent::_construct();
}
作者:kidaa3
项目:magento2-platforms
/**
* @return void
*/
protected function _construct()
{
$this->_controller = 'adminhtml';
$this->_blockGroup = 'Magento_AdminNotification';
$this->_headerText = __('Messages Inbox');
parent::_construct();
$this->buttonList->remove('add');
}
作者:dragonsword00700
项目:magento
/**
* Block constructor
*
* @return void
*/
protected function _construct()
{
$this->_blockGroup = 'Dotdigitalgroup_Email';
$this->_controller = 'adminhtml_contact';
$this->_headerText = __('Contacts');
parent::_construct();
$this->buttonList->remove('add');
}
作者:kidaa3
项目:magento2-platforms
/**
* @return void
*/
protected function _construct()
{
$this->_blockGroup = 'Magento_Reports';
$this->_controller = 'adminhtml_customer_accounts';
$this->_headerText = __('New Accounts');
parent::_construct();
$this->buttonList->remove('add');
}