/** * @return $this */ public function _construct() { $this->setPageSize((int) $this->_scopeConfig->getValue('mfblog/sidebar/' . $this->_widgetKey . '/posts_per_page', \Magento\Store\Model\ScopeInterface::SCOPE_STORE)); return parent::_construct(); }
/** * @return void */ public function _construct() { $this->setPageSize(5); return parent::_construct(); }