- Issue created by @zanvidmar
Example:
There is a node bundle named article.
Article has an author field, which is related to the user entity.
The user entity has a name field.
In the automatic entity labelling setting, we use the token [node:author:name], which works as intended.
Now let's assume that author has changed their name (on the user entity). The change will not be reflected in the article title until the first time the article is saved.
It would be nice, if user could have an option, that an entity with automatic entity label, where tokens relate on other entity, can be automatically updated if related token value is updated.
It is also important that this feature is optional, because this could potentially lead to performance issues if changing one entity can cause update of 1000+ nodes titles.
I have not yet tested or thought of a technical approach to this, but token has cache tags based on related entities. If we could use this (or some other approach with the same effect), we could "invalidate" out-of-date tags and force automatic label to be automatically updated.
Active
3.3
Code