Skip to content

Commit

Permalink
Change discovery_agent interface name
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
volodymyrdovhan authored Dec 3, 2024
1 parent 52e8379 commit 48427e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versioned_docs/version-4.5/apis/core/hooks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ If you define a hook which is _not_ in the `[component]\hook\*` namespace then y

namespace mod_example;

class hooks implements \core\hook\hook_discovery_agent {
class hooks implements \core\hook\discovery_agent {
public static function discover_hooks(): array {
return [
[
Expand Down

0 comments on commit 48427e3

Please sign in to comment.