- Issue created by @MrDaleSmith
- π©πͺGermany marcus_johansson
Since we are still using theme token_tree_link it will be missing when its not available. We should check if the token module is available before opting to render it to not cause those warnings.
See:
We should probably write out a message that if they want to see the possible Tokens, they need to install and enabled Token module. This is confusing otherwise if you are not aware of the Token module:
Also the Token module should be suggested in composer json as important to the Automators.
- π¬π§United Kingdom MrDaleSmith
Iβm not sure itβs worth doing the full remove of token if that theme function isn't part of core - it is something we want to be using. Otherwise we have to come up with our own version of it and itβs just not worth the effort. I say we add Token as a full dependency of the AI module but keep the other changes: you can use tokens without token but you canβt display which ones you can use without a lot of custom code, and doing a check if the module exists just so we can show the help text feels daft.