Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Update docs/hooks/hook_civicrm_alterExternUrl.md
Browse files Browse the repository at this point in the history
  • Loading branch information
homotechsual authored May 19, 2020
1 parent f8d9605 commit e72cefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hooks/hook_civicrm_alterExternUrl.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function MODULENAME_civicrm_alterExternUrl(&$url, $path, $query, $fragment, $abs
!!!note "Notes"

* The function examines `$path`, `$query`, `$fragment`, `$absolute` -- these are the main *inputs*.
* The function outputs the `$url` (per [PSR-7 UriInterface](https://www.php-fig.org/psr/psr-7/#35-psrhttpmessageuriinterface)).
* The function outputs the `$url` (per [PSR-7 UriInterface](https://www.php-fig.org/psr/psr-7/#35-psrhttpmessageuriinterface)).
* The outputted `$url` *incorporates* the requested values, but they do not have to be used *literally*.
In this case, the requested `$path` (`extern/open`) is very different from the concrete path (`/open/tracker/wrapper`).

Expand Down

0 comments on commit e72cefb

Please sign in to comment.