Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getIsFilterable()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getIsFilterable');
     if (!$pluginInfo) {
         return parent::getIsFilterable();
     } else {
         return $this->___callPlugins('getIsFilterable', func_get_args(), $pluginInfo);
     }
 }
 /**
  * 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->getIsFilterable();
 }