Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function getIsFilterableInSearch()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getIsFilterableInSearch');
     if (!$pluginInfo) {
         return parent::getIsFilterableInSearch();
     } else {
         return $this->___callPlugins('getIsFilterableInSearch', func_get_args(), $pluginInfo);
     }
 }
Esempio n. 2
0
 /**
  * Check whether specified attribute can be used in LN
  *
  * @param \Magento\Catalog\Model\ResourceModel\Eav\Attribute  $attribute
  * @return int
  */
 protected function getAttributeIsFilterable($attribute)
 {
     return $attribute->getIsFilterableInSearch();
 }