Skip to content
Snippets Groups Projects
Commit 97d3e48a authored by Josef Glatz's avatar Josef Glatz Committed by Oliver Bartsch
Browse files

[DOCS] Fix typos and code example in be module registration API

This patch fixes some typos and adds a missing quotation mark in
the code example.

Resolves: #102316
Releases: main, 12.4
Change-Id: I4f234b028a6cb8ca7b6b151366cf575dfc86a90e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81681


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarChris Müller <typo3@krue.ml>
Reviewed-by: default avatarChris Müller <typo3@krue.ml>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 7acb0b9d
No related merge requests found
......@@ -204,13 +204,13 @@ Default:
+============================+=====================================================================+
| routes (:php:`array`) | Define the routes to this module. Each route requires at least the |
| | `target`. The `_default` route is mandatory, except for modules, |
| | which can fall back to a sub module. The `_default` routes' `path` |
| | which can fall back to a sub module. The `_default` routes `path` |
| | is taken from the top-level configuration. For all other routes |
| | is the route identifier taken as `path`, if not explicitly defined. |
| | Each route can define any controller / action pair and can restrict |
| | the allowed HTTP methods:: |
| | |
| | routes' => [ |
| | 'routes' => [ |
| | '_default' => [ |
| | 'target' => ControllerA::class . '::handleRequest', |
| | ], |
......@@ -272,7 +272,7 @@ The corresponding event listener class:
{
// Change module icon of page module
if ($event->getIdentifier() === 'web_layout') {
$event->setConfigurationValue('iconIdentifider', 'my-custom-icon-identifier');
$event->setConfigurationValue('iconIdentifier', 'my-custom-icon-identifier');
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment