You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed the "Documentation for word" command doesn't work for theme functions. I'm not sure how we would solve this.
Example: MODULE_links or THEME_links lookup fails because it's looking for a hook. We need to replace prefix with theme_ or hook_ as necessary but we don't really have any criteria to set of a condition.
The text was updated successfully, but these errors were encountered:
MODULE_links implements hook_links. THEME_links implements theme_links. There is no problem. We need no prefix replacement.
We should add all theming functions and use the "Documentation for word" for completion and a tab tigger commands for printing. As we have already done it for the hooks.
Except that theme functions can be overridden in a module too. So it could be EXAMPLE_links (where the lookup would be theme_links) or EXAMPLE_init (where the lookup would be hook_init).
If we have all theme functions in the module then sure, we have the criteria for the condition. Maybe we should generate the hooks using drupalcontrib.org?
I noticed the "Documentation for word" command doesn't work for theme functions. I'm not sure how we would solve this.
Example: MODULE_links or THEME_links lookup fails because it's looking for a hook. We need to replace prefix with theme_ or hook_ as necessary but we don't really have any criteria to set of a condition.
The text was updated successfully, but these errors were encountered: