![]() 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/old/vendor/wyomind/framework/Block/Adminhtml/Edit/Tab/ |
<?php /** * Copyright © 2020 Wyomind. All rights reserved. * See LICENSE.txt for license details. */ namespace Wyomind\Framework\Block\Adminhtml\Edit\Tab; class ActionHistory extends \Magento\Backend\Block\Template implements \Magento\Backend\Block\Widget\Tab\TabInterface { /** * @var \Magento\Framework\Registry */ protected $coreRegistry; /** * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Framework\Registry $registry * @param array $data */ public function __construct( \Magento\Backend\Block\Template\Context $context, \Magento\Framework\Registry $registry, array $data = [] ) { $this->coreRegistry = $registry; parent::__construct($context, $data); } /** * @return \Magento\Framework\Phrase */ public function getTabLabel() { return __('Action History'); } /** * @return \Magento\Framework\Phrase */ public function getTabTitle() { return __('Action History'); } /** * @return bool */ public function canShowTab() { return true; } /** * @return bool */ public function isHidden() { return false; } /** * Tab class getter * @return string */ public function getTabClass() { return ''; } /** * Return URL link to Tab content * @return string */ public function getTabUrl() { return $this->getUrl('wyomind_framework/history_action/grid', ['_current' => true]); } /** * Tab should be loaded trough Ajax call * @return bool */ public function isAjaxLoaded() { return true; } }