I would like to sort the table by the value $line_item->changed. What would be the simplest way to do this so it is updated on every change?
I would like to sort the table by the value $line_item->changed. What would be the simplest way to do this so it is updated on every change?
Comments
Comment #2
subhojit777You can sort the render array according to $line_item->changed in some preprocess function.
Comment #3
subhojit777You have to do such customizations in your own preprocess function.