Skip to content

Commit cbf7c6e

Browse files
authored
Merge pull request #1466 from abias/patch-1
Fix documentation about $CFG->hooks_callback_overrides
2 parents 8fb57c4 + 8572df7 commit cbf7c6e

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/apis/core/hooks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
```

versioned_docs/version-4.4/apis/core/hooks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
```

versioned_docs/version-4.5/apis/core/hooks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
```

versioned_docs/version-5.0/apis/core/hooks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
```

versioned_docs/version-5.1/apis/core/hooks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
```

0 commit comments

Comments
 (0)