Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
[!!!][TASK] Remove deprecated EMU addPageTSConfig & addUserTSConfig (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf authored Nov 1, 2024
1 parent f22bffc commit bde4b60
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 73 deletions.
16 changes: 8 additions & 8 deletions Documentation/PageTsconfig/TceMain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,14 @@ set, the page access permissions are copied from the parent page.
Example: Inherit the group id of the parent page
""""""""""""""""""""""""""""""""""""""""""""""""

.. code-block:: php
:caption: config/system/settings.php | typo3conf/system/settings.php
$GLOBALS['TYPO3_CONF_VARS']['BE']['defaultPageTSconfig'] .= '
TCEMAIN.permissions.groupid = copyFromParent
TCEMAIN.permissions.group = 31
TCEMAIN.permissions.everybody = 0
';
.. code-block:: typoscript
:caption: EXT:my_extension/Configuration/page.tsconfig
TCEMAIN.permissions {
groupid = copyFromParent
group = 31
everybody = 0
}
By default all new pages created by users will inherit the group of the parent
page. Members of this group get all permissions. Users not in the group get no
Expand Down
14 changes: 0 additions & 14 deletions Documentation/UsingSetting/PageTSconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,6 @@ can also set the page TSconfig globally.
The PSR-14 event :ref:`t3coreapi:BeforeLoadedPageTsConfigEvent` is available to
add global static page TSconfig before anything else is loaded.

.. _page-tsconfig-v11-v12:

Global page TSconfig, compatible with TYPO3 v11 and v12
-------------------------------------------------------

In TYPO3 v11 installations the content of :file:`Configuration/page.tsconfig`
is not loaded automatically yet. You can achieve compatibility with both
TYPO3 v11 and v12 by importing the content of this file with the API function
:php:`ExtensionManagementUtility::addPageTSConfig`:

.. literalinclude:: _PageTSconfig/_ext_localconf_page_tsconfig_v11.php
:language: php
:caption: EXT:my_sitepackage/ext_localconf.php

.. _include-static-page-tsconfig-per-site:

Page TSconfig on site level
Expand Down
17 changes: 0 additions & 17 deletions Documentation/UsingSetting/UserTSconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,23 +81,6 @@ this file:
The PSR-14 event :ref:`t3coreapi:BeforeLoadedUserTsConfigEvent` is available to
add global static user TSconfig before anything else is loaded.

User TSconfig, compatible with TYPO3 v12 and v13
------------------------------------------------

In TYPO3 v12 installations the content of :file:`Configuration/user.tsconfig` is
not loaded automatically. You can achieve compatibility with both TYPO3 v12 and
v13 by importing the content of this file with the API function
:php:`ExtensionManagementUtility::addUserTSConfig`:

.. literalinclude:: _UserTSconfig/_ext_localconf_v12.php
:language: php
:caption: EXT:my_sitepackage/ext_localconf.php

.. deprecated:: 13.0
The method :php:`\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig()`
has been marked as deprecated in TYPO3 v13 and will be removed with TYPO3
v14.

.. index:: pair: User TSconfig; Verify configuration
.. _userverifyingthefinalconfiguration:

Expand Down

This file was deleted.

17 changes: 0 additions & 17 deletions Documentation/UsingSetting/_UserTSconfig/_ext_localconf_v12.php

This file was deleted.

0 comments on commit bde4b60

Please sign in to comment.