|
| __construct (public renderer_base readonly renderer_base $renderer, private string string $output='',) |
| Hook to allow subscribers to add HTML content after the main region content has been generated.
|
|
| add_html (?string $output) |
| Plugins implementing callback can add any HTML to the top of the body.
|
|
| get_output () |
| Returns all HTML added by the plugins.
|
|
| process_legacy_callbacks () |
| Process legacy callbacks.
|
|
◆ __construct()
core\hook\output\after_standard_main_region_html_generation::__construct |
( |
public renderer_base readonly renderer_base | $renderer, |
|
|
private string string | $output = '' ) |
Hook to allow subscribers to add HTML content after the main region content has been generated.
- Parameters
-
- Parameters
-
$renderer | The page renderer object |
$output | The collected output |
◆ add_html()
core\hook\output\after_standard_main_region_html_generation::add_html |
( |
?string | $output | ) |
|
Plugins implementing callback can add any HTML to the top of the body.
Must be a string containing valid html head content.
- Parameters
-
◆ get_output()
core\hook\output\after_standard_main_region_html_generation::get_output |
( |
| ) |
|
Returns all HTML added by the plugins.
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/hook/output/after_standard_main_region_html_generation.php