protected function isSectionAllowed($sectionId)
    {
        $container = $this->getRequest()->getParam('container');
        $store = $this->getRequest()->getParam('store');
        if ($store) {
            $this->backendConfig->setStore($store);
        } elseif ($container) {
            $this->backendConfig->setContainer($container);
        }

        return $this->sectionChecker->isSectionAllowed($sectionId);
    }
protected function isSectionAllowed($sectionId)
    {
        $container = $this->getRequest()->getParam('container');
        $store = $this->getRequest()->getParam('store');
        if ($store) {
            $this->backendConfig->setStore($store);
        } elseif ($container) {
            $this->backendConfig->setContainer($container);
        }

        return $this->sectionChecker->isSectionAllowed($sectionId);
    }
protected function isSectionAllowed ( $ sectionId ) { $ container = $ this -> getRequest ( ) -> getParam ( 'container' ) ; $ store = $ this -> getRequest ( ) -> getParam ( 'store' ) ; if ( $ store ) { $ this -> backendConfig -> setStore ( $ store ) ; } elseif ( $ container ) { $ this -> backendConfig -> setContainer ( $ container ) ; } return $ this -> sectionChecker -> isSectionAllowed ( $ sectionId ) ; }
Sets scope for backend config

@param string $sectionId The section being viewed/edited/saved

@return bool
Sets scope for backend config