/** * Set the selected resources, which is an array of resource ids. If everything is allowed, the * array will contain just the root resource id, which is "Magento_Adminhtml::all". * * @return void */ protected function _construct() { parent::_construct(); $this->_selectedResources = $this->_webapiHelper->getSelectedResources(); }
/** * Class constructor * * @return void */ protected function _construct() { parent::_construct(); $this->setSelectedResources($this->_webapiData->getSelectedResources()); }