From 9aacaca1cf00e881ce734cc30d97fcbe53081420 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 19 Aug 2024 09:52:49 +1200 Subject: [PATCH] API Standardise extension hooks --- src/Extension/RequirementsExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension/RequirementsExtension.php b/src/Extension/RequirementsExtension.php index 1096324..92e594a 100644 --- a/src/Extension/RequirementsExtension.php +++ b/src/Extension/RequirementsExtension.php @@ -16,7 +16,7 @@ class RequirementsExtension extends Extension /** * @see LeftAndMain::init() */ - public function init() + protected function onInit() { // As requirements for this module are dynamic - plugin methods apply their own requirements - we need to // include these requirements at run-time (opposed to using $extra_requirements_*)