- Issue created by @FeyP
- 🇪🇸Spain fjgarlin
I like the ideas and suggestions given. It'd be hard to put the alias in the class (or trait) itself since any other class can use another alias, but yeah, we need to find a way of "finding" them and link to the right places.
- Status changed to Closed: works as designed
about 2 months ago 2:36pm 15 July 2025 - 🇪🇸Spain fjgarlin
If you look for "aliasedMethodName", you will find information.
Copying the reply that I gave in ✨ methods that are imported from traits as aliases can't be searched for Active .
--
Each class could alias a method differently. I don't think it needs storing, it just needs cross-linking, and that works.
Note that when the alias is used, like in here https://api.drupal.org/api/drupal/core%21profiles%21demo_umami%21tests%2..., the site already provide links to the actual unaliased function.
It also shows the alias information in the table below. You can see that same information in here too: https://api.drupal.org/api/drupal/core%21tests%21Drupal%21Tests%21Browse...
Also, using the global search finds the files/elements that use the alias.