user_category entity view mode was intended to match the user_view view mode but under field ui display settings the user view mode is not passed on for user_category

Comments

yakoub’s picture

i think i'll add a field to the user entity that allows under display settings to configure which view modes to use for each category, that will be brilliant ! :)

yakoub’s picture

fixed by attaching user_category view modes to the user entity modes
this way if someone does user_view($user, 'client') it will be passed on to user_categories_category_view
and site builder can configure field display using field ui for the user_category entities

yakoub’s picture

Status: Active » Closed (fixed)
yakoub’s picture

this lead me to think about creating new generic module called entity_categories
but there is no place in field ui to attach the category field management so i dropped the idea