Skip to content

Commit 8c64a41

Browse files
committed
[docs] Fix broken link
1 parent e1cbd12 commit 8c64a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/apis/subsystems/output/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ This prints the HTML for the bottom of the page. It is very important because it
110110

111111
<Since version="5.0" issueNumber="MDL-83888" />
112112

113-
In the example above, we used `$PAGE->get_renderer('tool_demo')` to get an instance of the renderer. This is the traditional way to get a renderer. However, if you are in a class designed for dependency injection, the use of global variables is discouraged. You can read more about dependency injection in the [Dependency Injection](../../../concepts/dependency-injection/index.md) guide.
113+
In the example above, we used `$PAGE->get_renderer('tool_demo')` to get an instance of the renderer. This is the traditional way to get a renderer. However, if you are in a class designed for dependency injection, the use of global variables is discouraged. You can read more about dependency injection in the [Dependency Injection](../../core/di/index.md) guide.
114114

115115
Instead, you can use the `core\output\renderer_helper` class to get any renderer instance without using the global. This is an example of how to use the `renderer_helper` class to get a renderer instance:
116116

0 commit comments

Comments
 (0)