This project is not covered by Drupal’s security advisory policy.
Adds Views sorting plugins that allow setting weight for each list field or entity bundle option.
For instance:
You have an entity with a "list" field, which we'll call "Status." The available options are:
new|New
canceled|Canceled
approved|Approved
need_feedback|Need Feedback
You want to sort the view display based on these options. However, entities with the status "Canceled" should appear at the top of the list, followed by "New," then "Need Feedback," and finally "Approved" at the bottom. This module can help you achieve that! See the "How to Use" section for more details.
Supported field types:
- "List (text)" - list_string
- "List (integer)" - list_integer
- "List (float)" - list_float
+ Entity Bundle (Type)
+ User Role
How to use:
- Go to the Views settings form and choose one of the sorting plugins that have the "(set weight)" suffix.
- Set weight (integer number) for each of the proposed options
Similar projects and how they are different:
- Views List Sort: offers similar functionality but doesn't allow to change the weight of available options; supports only "list_string" fields; doesn't support "type" (bundle) property.
Supporting organizations:
Project information
432 sites report using this module
- Created by nikita_tt on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.




