Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left"
- xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
- <body>
- <referenceContainer name="content">
- <block class="NamespaceModuleBlockAdminhtmlCustomerEdit" name="customer_block_adminhtml_index_edit_custom" cacheable="false" template="Namespace_Module::customer_index_edit.phtml" />
- </referenceContainer>
- </body>
- </page>
- <?php
- namespace NamespaceModuleBlockAdminhtmlCustomer;
- use MagentoCustomerApiAccountManagementInterface;
- use MagentoCustomerApiCustomerRepositoryInterface;
- use MagentoCustomerControllerRegistryConstants;
- class Edit extends MagentoBackendBlockWidgetFormContainer
- {
- public function __construct(
- MagentoBackendBlockWidgetContext $context,
- MagentoFrameworkRegistry $registry,
- AccountManagementInterface $customerAccountManagement,
- CustomerRepositoryInterface $customerRepository,
- MagentoCustomerHelperView $viewHelper,
- array $data = []
- ) {
- $this->_coreRegistry = $registry;
- $this->customerAccountManagement = $customerAccountManagement;
- $this->customerRepository = $customerRepository;
- $this->_viewHelper = $viewHelper;
- parent::__construct($context, $data);
- }
- }
- <h1> This is new section </h1>
Add Comment
Please, Sign In to add comment