Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 12 additions & 29 deletions Documentation/ApiOverview/DataHandler/Database/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -652,30 +652,23 @@ function. Configuration of the hook can be done from
.. index:: DataHandler; Flags
.. _tce-flags:

Flags in DataHandler
====================
Flags in the DataHandler
=======================

There are a few internal variables you can set prior to executing
commands or data submission. These are the most significant:

.. confval:: ->copyTree
:name: datahandler-flags-copyTree
:Data type: integer
:Default: 0

Sets the number of branches on a page tree to copy.

0
Branch is *not* copied
.. versionchanged:: 14.0
The following public properties of the PHP class `TYPO3\CMS\Core\DataHandling\DataHandler` have been removed:

1
Pages on the first level are copied.
* `copyWhichTables`
* `neverHideAtCopy`
* `copyTree`

2
Pages on the second level are copied.
See `Breaking: #107856 - DataHandler: Remove internal property
copyWhichTables and properties neverHideAtCopy and
copyTree <https://docs.typo3.org/permalink/changelog:breaking-107856-1763715381>`_

And so on.

There are a few internal variables you can set prior to executing
commands or data submission.

.. confval:: ->reverseOrder
:name: datahandler-flags-reverseOrder
Expand All @@ -684,13 +677,3 @@ commands or data submission. These are the most significant:

If set, the data array is reversed in the order, which is a nice thing
if you are creating a whole bunch of new records.


.. confval:: ->copyWhichTables
:name: datahandler-flags-copyWhichTables
:Data type: list of strings (tables)
:Default: "*"

This list of tables decides which tables will be copied. If empty then
none will. If "*" then all will (that the user has permission to, of
course).