- Issue created by @walkingdexter
I'm interested in a feature that was previously implemented in 7.x-1.x but has not been ported to 8.x-1.x and 2.x. It's about this issue #2720723: Add hook to alter instance name for entity config → . I have the same use case - tags per user role.
I see two possible solutions:
hook_metatags_defaults_alter()
. This hook must be called inside metatag_get_default_tags()
. Probably inside \Drupal\metatag\MetatagManager::defaultTagsFromEntity()
too.Active
2.1
Code