Preference
Last updated
Last updated
An user may have own preference to be set while using your application. Well Adminetic Preference Module provides that feature. Store boolean value of wither true/false based on some declared preference
preference: Name of preference
Preference For: Can be used if preference is for certain set of user having mention roles. Applies to all role if left empty
active: default Boolean state of preference
Then you can use
This grabs the preference of auth()->user().