This function puts multiple items into the same group if they are groupable and if they are for the same browsers. Items of the 'file' type are groupable if their 'preprocess' flag is TRUE. Items of the 'inline', 'settings', or 'external' type are not groupable.
This function also ensures that the process of grouping items does not change their relative order. This requirement may result in multiple groups for the same type and browsers, if needed to accommodate other items in between.
includes/ common.inc, line 4817
- Common functions that many Backdrop modules will need to reference.