File tree Expand file tree Collapse file tree
version-4.4/apis/core/hooks
version-4.5/apis/core/hooks
version-5.0/apis/core/hooks
version-5.1/apis/core/hooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ callbacks completely:
9595``` php title="/config.php"
9696$CFG->hooks_callback_overrides = [
9797 \mod_activity\hook\installation_finished::class => [
98- 'test_otherplugin\\callbacks ::activity_installation_finished' => ['disabled' => true],
98+ 'test_otherplugin\\hook_callbacks ::activity_installation_finished' => ['disabled' => true],
9999 ],
100100];
101101```
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ callbacks completely:
9595``` php title="/config.php"
9696$CFG->hooks_callback_overrides = [
9797 \mod_activity\hook\installation_finished::class => [
98- 'test_otherplugin\\callbacks ::activity_installation_finished' => ['disabled' => true],
98+ 'test_otherplugin\\hook_callbacks ::activity_installation_finished' => ['disabled' => true],
9999 ],
100100];
101101```
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ callbacks completely:
9595``` php title="/config.php"
9696$CFG->hooks_callback_overrides = [
9797 \mod_activity\hook\installation_finished::class => [
98- 'test_otherplugin\\callbacks ::activity_installation_finished' => ['disabled' => true],
98+ 'test_otherplugin\\hook_callbacks ::activity_installation_finished' => ['disabled' => true],
9999 ],
100100];
101101```
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ callbacks completely:
9595``` php title="/config.php"
9696$CFG->hooks_callback_overrides = [
9797 \mod_activity\hook\installation_finished::class => [
98- 'test_otherplugin\\callbacks ::activity_installation_finished' => ['disabled' => true],
98+ 'test_otherplugin\\hook_callbacks ::activity_installation_finished' => ['disabled' => true],
9999 ],
100100];
101101```
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ callbacks completely:
9595``` php title="/config.php"
9696$CFG->hooks_callback_overrides = [
9797 \mod_activity\hook\installation_finished::class => [
98- 'test_otherplugin\\callbacks ::activity_installation_finished' => ['disabled' => true],
98+ 'test_otherplugin\\hook_callbacks ::activity_installation_finished' => ['disabled' => true],
9999 ],
100100];
101101```
You can’t perform that action at this time.
0 commit comments