コード例 #1
0
 /**
  * Check whether specified attribute can be used in LN
  *
  * @param \Magento\Catalog\Model\Resource\Eav\Attribute  $attribute
  * @return int
  */
 protected function getAttributeIsFilterable($attribute)
 {
     return $attribute->getIsFilterableInSearch();
 }