modules/acm_sku/src/CartFormHelper.php
public function getConfigurableAttributeWeights($attribute_set = 'default') {
    $attribute_set = strtolower($attribute_set);
    $weights = $this->config->get('attribute_weights');
    $set_weights = $weights[$attribute_set] ?? $weights['default'];
    asort($set_weights);
    return $set_weights;
  }
public function getConfigurableAttributeWeights($attribute_set = 'default') {
    $attribute_set = strtolower($attribute_set);
    $weights = $this->config->get('attribute_weights');
    $set_weights = $weights[$attribute_set] ?? $weights['default'];
    asort($set_weights);
    return $set_weights;
  }
public function getConfigurableAttributeWeights ( $ attribute_set = 'default' ) { $ attribute_set = strtolower ( $ attribute_set ) ; $ weights = $ this -> config -> get ( 'attribute_weights' ) ; $ set_weights = $ weights [ $ attribute_set ] ?? $ weights [ 'default' ] ; asort ( $ set_weights ) ; return $ set_weights ; }
Get the attribute codes with weight for particular attribute set.

@param string $attribute_set
Attribute set.

@return array
Attribute codes with weight as value.
Get the attribute codes with weight for particular attribute set .