/**
  * Get the current page size. If _pageSize is false, get the limit from the toolbar block.
  *
  * @return int|string
  */
 public function getPageSize()
 {
     if (!$this->isExtensionConfigured()) {
         return parent::getPageSize();
     }
     if (!$this->_pageSize) {
         return $this->_getToolbar()->getLimit();
     }
     return $this->_pageSize;
 }