Related roles

Categories

Component ID

1913750

Component name

Related roles

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module allows a user with appropriate permissions to relate a role to a taxonomy term by editing the taxonomy term.

This could be extended to entities of any type in the future.

At the moment the only way you would need this is if another module requires it.

the function related_roles($tid) returns an array of role ids that are related to the term.