OK, this is the final piece of #2299715: [meta] Move core hooks from system.api.php to core.api.php or other files
We have 4 core Token-related hooks that are currently in core/modules/system/system.api.php.
They should be moved into their own token.api.php file, which should follow the format of menu.api.php.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | move_token_hooks_into-2470976-5.patch | 18.83 KB | dimaro |
| #1 | move-token-hooks-2470976-1.patch | 18.85 KB | jeanfei |
Comments
Comment #1
jeanfei commentedI've moved token hooks into token.api.php.
Comment #2
jeanfei commentedforget to change the status.
Comment #3
jhodgdonGreat, thanks!
Comment #5
dimaro commentedI moved the hooks again.
Locally applied, I hope it works.
Comment #6
jhodgdonThanks!
Comment #8
xjmThis issue only changes documentation, so per https://www.drupal.org/core/beta-changes, this can be completed any time during the Drupal 8 beta phase.
This is oh-so-slightly out of scope, but I'm okay with removing these two use statements here since they're unused and since we're changing a line next to them anyway.
Thanks @jeanfei and @dimaro, and thanks @jhodgdon for the review and signoff! Committed and pushed to 8.0.x.