Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Standardise extension hooks #1810

Conversation

GuySartorelli
Copy link
Member

$this->extend('init');
$this->extend('onInit');
Copy link
Member Author

@GuySartorelli GuySartorelli Aug 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentionally not changing to onAfterInit because this isn't at the end of the method.
Also not updateInit because it's not updating the value of some argument.

@GuySartorelli GuySartorelli marked this pull request as draft August 18, 2024 21:48
@GuySartorelli GuySartorelli force-pushed the pulls/3/standardise-extension-hooks branch from 694e906 to b0c17b1 Compare August 19, 2024 01:38
@GuySartorelli GuySartorelli marked this pull request as ready for review August 22, 2024 02:39
@GuySartorelli GuySartorelli force-pushed the pulls/3/standardise-extension-hooks branch from b0c17b1 to 17b432d Compare August 25, 2024 23:13
@emteknetnz emteknetnz merged commit 1c18c90 into silverstripe:3 Aug 27, 2024
12 of 14 checks passed
@emteknetnz emteknetnz deleted the pulls/3/standardise-extension-hooks branch August 27, 2024 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants