Skip to content

Commit 48427e3

Browse files
Change discovery_agent interface name
Interface '\core\hook\hook_discovery_agent' does not exist in the \core\hook. It should be '\core\hook\discovery_agent' as described above the code example.
1 parent 52e8379 commit 48427e3

File tree

1 file changed

+1
-1
lines changed
  • versioned_docs/version-4.5/apis/core/hooks

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ If you define a hook which is _not_ in the `[component]\hook\*` namespace then y
126126

127127
namespace mod_example;
128128

129-
class hooks implements \core\hook\hook_discovery_agent {
129+
class hooks implements \core\hook\discovery_agent {
130130
public static function discover_hooks(): array {
131131
return [
132132
[

0 commit comments

Comments
 (0)