1 | <?php |
||
2 | declare(strict_types=1); |
||
3 | /** |
||
4 | */ |
||
5 | |||
6 | namespace CommerceLeague\ActiveCampaign\Controller\Adminhtml; |
||
7 | |||
8 | use Magento\Backend\App\Action; |
||
9 | use Magento\Backend\Model\View\Result\Page as ResultPageModel; |
||
10 | use Magento\Framework\View\Result\Page as ResultPage; |
||
11 | |||
12 | /** |
||
13 | * Class AbstractAbandoned |
||
14 | */ |
||
15 | abstract class AbstractAbandoned extends Action |
||
16 | { |
||
17 | const ADMIN_RESOURCE = 'CommerceLeague_ActiveCampaign::activecampaign_abandoned'; |
||
18 | |||
19 | /** |
||
20 | * @param ResultPage|ResultPageModel $resultPage |
||
21 | * @return ResultPage |
||
22 | */ |
||
23 | protected function initPage(ResultPage $resultPage): ResultPage |
||
24 | { |
||
25 | $resultPage->setActiveMenu('CommerceLeague_ActiveCampaign::activecampaign_abandoned') |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
26 | ->addBreadcrumb(__('ActiveCampaign'), __('ActiveCampaign')) |
||
27 | ->addBreadcrumb(__('Abandoned Carts'), __('Abandoned Carts')); |
||
28 | |||
29 | return $resultPage; |
||
30 | } |
||
31 | } |
||
32 |