From 33a150fcc80fdeb0b92af9d3a16264f86e8c63fd Mon Sep 17 00:00:00 2001 From: Volodymyr Dovhan <87095933+volodymyrdovhan@users.noreply.github.com> Date: Tue, 3 Dec 2024 22:36:05 +0100 Subject: [PATCH] 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. --- docs/apis/core/hooks/index.md | 2 +- versioned_docs/version-4.3/apis/core/hooks/index.md | 2 +- versioned_docs/version-4.4/apis/core/hooks/index.md | 2 +- versioned_docs/version-4.5/apis/core/hooks/index.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/apis/core/hooks/index.md b/docs/apis/core/hooks/index.md index c69a637555..0e2408b5a6 100644 --- a/docs/apis/core/hooks/index.md +++ b/docs/apis/core/hooks/index.md @@ -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\hook\discovery_agent { public static function discover_hooks(): array { return [ [ diff --git a/versioned_docs/version-4.3/apis/core/hooks/index.md b/versioned_docs/version-4.3/apis/core/hooks/index.md index bae767fe58..7fca73f583 100644 --- a/versioned_docs/version-4.3/apis/core/hooks/index.md +++ b/versioned_docs/version-4.3/apis/core/hooks/index.md @@ -100,7 +100,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\hook\discovery_agent { public static function discover_hooks(): array { return [ [ diff --git a/versioned_docs/version-4.4/apis/core/hooks/index.md b/versioned_docs/version-4.4/apis/core/hooks/index.md index c69a637555..0e2408b5a6 100644 --- a/versioned_docs/version-4.4/apis/core/hooks/index.md +++ b/versioned_docs/version-4.4/apis/core/hooks/index.md @@ -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\hook\discovery_agent { public static function discover_hooks(): array { return [ [ diff --git a/versioned_docs/version-4.5/apis/core/hooks/index.md b/versioned_docs/version-4.5/apis/core/hooks/index.md index c69a637555..8a6d89fe07 100644 --- a/versioned_docs/version-4.5/apis/core/hooks/index.md +++ b/versioned_docs/version-4.5/apis/core/hooks/index.md @@ -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 [ [