getMaxSize() public method

Retrieve Max Size for a given type of autocomplete results
public getMaxSize ( string $type = null ) : integer
$type string The type of autocomplete element
return integer
Example #1
0
 /**
  * Retrieve number of products to display in autocomplete results
  *
  * @return int
  */
 private function getResultsPageSize()
 {
     return $this->configurationHelper->getMaxSize($this->getType());
 }