Skip to content

Commit 33a150f

Browse files
volodymyrdovhanandrewnicols
authored andcommitted
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 33a150f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/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\hook\discovery_agent {
130130
public static function discover_hooks(): array {
131131
return [
132132
[

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

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

101101
namespace mod_example;
102102

103-
class hooks implements \core\hook\hook_discovery_agent {
103+
class hooks implements \core\hook\hook\discovery_agent {
104104
public static function discover_hooks(): array {
105105
return [
106106
[

versioned_docs/version-4.4/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\hook\discovery_agent {
130130
public static function discover_hooks(): array {
131131
return [
132132
[

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)