Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include plugin bootstrap on the first time.
If a plugin is loaded through the static method it should be immediately bootstrapped, as that is how Plugin::load() has worked for a long time. Because many 3.x plugins rely on their bootstrap file only being executed once per process, we need to disable the bootstrap hook so that `app->pluginBootstrap()` doesn't re-trigger the bootstrap steps. Refs #11816
- Loading branch information
Showing
3 changed files
with
37 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters