function _linkit_sort_attributes_by_weight in Linkit 7.2
Sort attribute by weight.
1 string reference to '_linkit_sort_attributes_by_weight'
- _linkit_build_attribute_form_fields in plugins/
export_ui/ linkit_profiles.inc - Append attributes form element to the setttings form.
File
- plugins/
export_ui/ linkit_profiles.inc, line 170
Code
function _linkit_sort_attributes_by_weight($a, $b) {
return $a["#weight"] >= $b["#weight"];
}