Skip to content
Snippets Groups Projects
Commit 40518282 authored by Christian Kuhn's avatar Christian Kuhn Committed by Andreas Fernandez
Browse files

[BUGFIX] Fix ExtJS removal documentation files

A couple of syntax errors in the .rst files of the
ExtJS / page tree feature.

Resolves: #83185
Related: #82426
Releases: master
Change-Id: I010dffddbe565de770868e717d75f16828d60b0b
Reviewed-on: https://review.typo3.org/54897


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
parent 2320d7f9
Branches
Tags
No related merge requests found
...@@ -35,8 +35,7 @@ Use `TYPO3/CMS/Backend/PageTree/PageTreeElement` instead of `typo3-pagetree`. ...@@ -35,8 +35,7 @@ Use `TYPO3/CMS/Backend/PageTree/PageTreeElement` instead of `typo3-pagetree`.
Old configuration: Old configuration:
------------------ ------------------
.. code-block:: php
.. code-block::php
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule( \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.Workspaces', 'TYPO3.CMS.Workspaces',
...@@ -60,7 +59,7 @@ Old configuration: ...@@ -60,7 +59,7 @@ Old configuration:
Should be changed to new configuration: Should be changed to new configuration:
--------------------------------------- ---------------------------------------
.. code-block::php .. code-block:: php
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule( \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'TYPO3.CMS.Workspaces', 'TYPO3.CMS.Workspaces',
......
...@@ -9,38 +9,37 @@ See :issue:`82426` ...@@ -9,38 +9,37 @@ See :issue:`82426`
Description Description
=========== ===========
When registering an extensions's BE module with `ExtensionUtility::registerModule()` it is possible to define 'navigationComponentId'. When registering an extensions's BE module with `ExtensionUtility::registerModule()` it is possible
to define 'navigationComponentId'.
Before the 'navigationComponentId' was used to pass a name of the ExtJS module registered with ExtensionManagementUtility::addNavigationComponent(). Before, the 'navigationComponentId' has been used to pass a name of the ExtJS module registered with
ExtensionManagementUtility::addNavigationComponent().
Now it should contain a RequireJS module name (no additional registration is necessary. Now it should contain a RequireJS module name. No additional registration is necessary.
The TYPO3 page tree navigation component name 'typo3-pagetree' will still work (thanks to the BC layer) but will throw a deprecation notice. The TYPO3 page tree navigation component name 'typo3-pagetree' will still work (thanks to the BC layer)
but will throw a deprecation notice.
Should be changed to new configuration: Should be changed to new configuration:
```
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule( .. code-block:: php
'TYPO3.CMS.Workspaces',
'web', \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'workspaces', 'TYPO3.CMS.Workspaces',
'before:info', 'web',
[ 'workspaces',
// An array holding the controller-action-combinations that are accessible 'before:info',
'Review' => 'index,fullIndex,singleIndex', [
'Preview' => 'index,newPage' // An array holding the controller-action-combinations that are accessible
], 'Review' => 'index,fullIndex,singleIndex',
[ 'Preview' => 'index,newPage'
'access' => 'user,group', ],
'icon' => 'EXT:workspaces/Resources/Public/Icons/module-workspaces.svg', [
'labels' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod.xlf', 'access' => 'user,group',
'navigationComponentId' => 'TYPO3/CMS/Backend/PageTree/PageTreeElement' 'icon' => 'EXT:workspaces/Resources/Public/Icons/module-workspaces.svg',
] 'labels' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod.xlf',
); 'navigationComponentId' => 'TYPO3/CMS/Backend/PageTree/PageTreeElement'
``` ]
);
Impact
======
impact
.. index:: Backend, JavaScript, PHP-API, NotScanned .. index:: Backend, JavaScript, PHP-API, NotScanned
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