I am writing a module, and am confused about the term's URLs. because, if pathauto moduel is installed, then the alias of that module should be provided. How to achieve this?
Default drupal's URL:
Pathauto's probable pattern:
category/30 category/[title] category/[title]/[id] ...and millions of other possible patte
drupal_get_path_alias() returns drupal's default path.
How should I get the path used by pathauto? I have seen pathauto's module, but it does not provide an API for this purpose as it seems.