Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Convert hooks to events, deprecate hooks #686

Open
pfrenssen opened this issue Aug 7, 2020 · 2 comments
Open

Convert hooks to events, deprecate hooks #686

pfrenssen opened this issue Aug 7, 2020 · 2 comments

Comments

@pfrenssen
Copy link
Contributor

We should provide events as alternatives for our hooks, and deprecate the hooks by emitting a deprecation warning when they are implemented. It is beneficial for people porting their code from D7 to keep the hooks around for some more time. We can then remove them in our next major release.

@pfrenssen
Copy link
Contributor Author

I had originally assigned this to the beta1 milestone but since this is an introduction of a new feature along with a deprecation of an existing feature this doesn't break BC and is fine to implement after beta1.

@MPParsley
Copy link
Collaborator

Great idea! See https://www.drupal.org/node/2881531

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants