Entitystatus

Component ID

2419473

Component name

Entitystatus

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Entitystatus module provides functionality similar to Flag module, but not limit you with number of options. You can create your own option set and attach it to any fieldable entity to gather per-entity and per-user info. Entity status widget (select list) can be displayed on entity page or as a Views field.
Say, you need every registered user with the "reader" role will be able to rate each book in your library with predefined rating states ("Bad", "Good", "Awesome").

BASIC SETUP
To add Entitystatus to arbitrary entity you need:
1. Create new Entitystatus and it's options in admin/structure/entitystatus
2. Set user permissions in admin/people/permissions
Every single Entitystatus has it's own permission.
3. Set fields order in your entity "Manage display" page

VIEWS
You need to add few relationships (under "Entity status" group) to use
Entitystatus field in full:
1. Basic relationsip named with your custom Entitystatus name.
After adding basic relationship you will be able to add subsequent relations:
- Entitystatus User
- Entitystatus Option
- Entitystatus Set
2. All Entitystatus fields, filters and sort handlers will be available now
under "Entity status" group.
3. your-entity-status-name form is also available among the fields.