Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-customer
Controller
Adminhtml
Index
Newsletter.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Customer\Controller\Adminhtml\Index
;
7
8
class
Newsletter
extends
\Magento\Customer\Controller\Adminhtml\Index
9
{
15
public
function
execute
()
16
{
17
$customerId
= $this->
initCurrentCustomer
();
19
$subscriber
= $this->_objectManager
20
->create(\
Magento
\
Newsletter
\Model\Subscriber::class)
21
->loadByCustomerId(
$customerId
);
22
23
$this->_coreRegistry->register(
'subscriber'
,
$subscriber
);
24
$resultLayout = $this->resultLayoutFactory->create();
25
return
$resultLayout;
26
}
27
}
Magento\Customer\Controller\Adminhtml\Index
Definition:
MassAssignGroupTest.php:8
Magento\Customer\Controller\Adminhtml\Index\Newsletter
Definition:
Newsletter.php:8
Magento\Customer\Controller\Adminhtml\Index\initCurrentCustomer
initCurrentCustomer()
Definition:
Index.php:259
Magento\Framework\App\ActionInterface\execute
execute()
$customerId
$customerId
Definition:
quote_with_customer.php:16
Magento
$subscriber
$subscriber
Definition:
subscribers.php:20
Magento\Customer\Controller\Adminhtml\Index
Definition:
Index.php:27