/**
  * Returns available information for the attribute and filters which supports it
  *
  * @param AttributeInterface $attribute
  * @param array              $attributeFilters
  *
  * @return array
  */
 protected function getFilterInformationForAttribute(AttributeInterface $attribute, array $attributeFilters)
 {
     $field = $attribute->getCode();
     $attributeType = $attribute->getAttributeType();
     $isLocalizable = $attribute->isLocalizable() ? 'yes' : 'no';
     $isScopable = $attribute->isScopable() ? 'yes' : 'no';
     $newEntries = [];
     if (array_key_exists($attributeType, $attributeFilters)) {
         foreach ($attributeFilters[$attributeType] as $filter) {
             $class = get_class($filter);
             $operators = implode(', ', $filter->getOperators());
             $newEntries[] = [$field, $isLocalizable, $isScopable, $attributeType, $operators, $class];
         }
         return $newEntries;
     }
     if ($attribute->isBackendTypeReferenceData()) {
         foreach ($this->registry->getAttributeFilters() as $filter) {
             if ($filter->supportsAttribute($attribute)) {
                 $class = get_class($filter);
                 $operators = implode(', ', $filter->getOperators());
                 $newEntries[] = [$field, $isLocalizable, $isScopable, $attributeType, $operators, $class];
             }
         }
         return $newEntries;
     }
     return [[$field, $isLocalizable, $isScopable, $attributeType, '', 'Not supported']];
 }