Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RolesGrid.php
Go to the documentation of this file.
1 <?php
8 
10 {
14  public function execute()
15  {
16  $userId = $this->getRequest()->getParam('user_id');
18  $model = $this->_userFactory->create();
19 
20  if ($userId) {
21  $model->load($userId);
22  }
23  $this->_coreRegistry->register('permissions_user', $model);
24  $this->_view->loadLayout();
25  $this->_view->renderLayout();
26  }
27 }