From 121a6c976c1c85ba74154ea95f0cab9401996c04 Mon Sep 17 00:00:00 2001
From: Benni Mack <benni@typo3.org>
Date: Mon, 20 Apr 2020 22:04:50 +0200
Subject: [PATCH] [TASK] Declare Fluid-based Page Module components internal

In order to stabilize this API, all APIs are marked
as internal in order to allow changes once Fluid-based
page module is stable enough to remove the info in
further patch-level releases.

Resolves: #91153
Releases: master
Change-Id: I26737e5ab89947fdcd7a0bf99c30310fce3b0a3a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64268
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
Reviewed-by: Josef Glatz <josefglatz@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
---
 .../backend/Classes/View/BackendLayout/ContentFetcher.php      | 2 ++
 .../Classes/View/BackendLayout/Grid/AbstractGridObject.php     | 2 ++
 typo3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php  | 2 ++
 .../backend/Classes/View/BackendLayout/Grid/GridColumn.php     | 2 ++
 .../backend/Classes/View/BackendLayout/Grid/GridColumnItem.php | 2 ++
 .../sysext/backend/Classes/View/BackendLayout/Grid/GridRow.php | 2 ++
 .../backend/Classes/View/BackendLayout/Grid/LanguageColumn.php | 2 ++
 .../backend/Classes/View/BackendLayout/RecordRememberer.php    | 3 +++
 .../backend/Classes/View/Drawing/BackendLayoutRenderer.php     | 2 ++
 .../backend/Classes/View/Drawing/DrawingConfiguration.php      | 2 ++
 typo3/sysext/backend/Classes/View/PageLayoutContext.php        | 3 +++
 11 files changed, 24 insertions(+)

diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php b/typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php
index 4a5785f4f0c9..7a319924992c 100644
--- a/typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php
+++ b/typo3/sysext/backend/Classes/View/BackendLayout/ContentFetcher.php
@@ -40,6 +40,8 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
  * - Capable of returning all records in active language as flat array
  * - Capable of returning records for a given column in a given (optional) language
  * - Capable of returning translation data (brief info about translation consistency)
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 class ContentFetcher
 {
diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/AbstractGridObject.php b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/AbstractGridObject.php
index 6c9e8a377fbd..ea7bff35bc32 100644
--- a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/AbstractGridObject.php
+++ b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/AbstractGridObject.php
@@ -34,6 +34,8 @@ use TYPO3\CMS\Core\Utility\StringUtility;
  * @see GridColumn
  * @see GridColumnItem
  * @see LanguageColumn
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 abstract class AbstractGridObject
 {
diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php
index 38be6610672f..c257d01743b2 100644
--- a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php
+++ b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/Grid.php
@@ -32,6 +32,8 @@ namespace TYPO3\CMS\Backend\View\BackendLayout\Grid;
  *       - GridColumnItem (one per record)
  *
  * Accessed in Fluid templates.
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 class Grid extends AbstractGridObject
 {
diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php
index fadfd6465c2d..e1bc4d25f064 100644
--- a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php
+++ b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumn.php
@@ -34,6 +34,8 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
  * in the page layout.
  *
  * Accessed from Fluid templates.
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 class GridColumn extends AbstractGridObject
 {
diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php
index e636f357b0ec..58e43396295d 100644
--- a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php
+++ b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php
@@ -36,6 +36,8 @@ use TYPO3\CMS\Core\Versioning\VersionState;
  * is-versioned, is-editable, is-delible and so on.
  *
  * Accessed from Fluid templates.
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 class GridColumnItem extends AbstractGridObject
 {
diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridRow.php b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridRow.php
index 9f4bdefb84ac..abdeb57532b6 100644
--- a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridRow.php
+++ b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridRow.php
@@ -24,6 +24,8 @@ namespace TYPO3\CMS\Backend\View\BackendLayout\Grid;
  * Is solely responsible for grouping GridColumns.
  *
  * Accessed in Fluid templates.
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 class GridRow extends AbstractGridObject
 {
diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/LanguageColumn.php b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/LanguageColumn.php
index 9360dfd44e06..1f9b0646a15c 100644
--- a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/LanguageColumn.php
+++ b/typo3/sysext/backend/Classes/View/BackendLayout/Grid/LanguageColumn.php
@@ -38,6 +38,8 @@ use TYPO3\CMS\Core\Versioning\VersionState;
  *
  * Accessed from Fluid templates - generated from within BackendLayout when
  * "page" module is in "languages" mode.
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 class LanguageColumn extends AbstractGridObject
 {
diff --git a/typo3/sysext/backend/Classes/View/BackendLayout/RecordRememberer.php b/typo3/sysext/backend/Classes/View/BackendLayout/RecordRememberer.php
index e9e9d11a1e03..c2afc4db4a6c 100644
--- a/typo3/sysext/backend/Classes/View/BackendLayout/RecordRememberer.php
+++ b/typo3/sysext/backend/Classes/View/BackendLayout/RecordRememberer.php
@@ -19,6 +19,9 @@ namespace TYPO3\CMS\Backend\View\BackendLayout;
 
 use TYPO3\CMS\Core\SingletonInterface;
 
+/**
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
+ */
 class RecordRememberer implements SingletonInterface
 {
     /**
diff --git a/typo3/sysext/backend/Classes/View/Drawing/BackendLayoutRenderer.php b/typo3/sysext/backend/Classes/View/Drawing/BackendLayoutRenderer.php
index 8dd5eb60b352..ceec77e2f6bd 100644
--- a/typo3/sysext/backend/Classes/View/Drawing/BackendLayoutRenderer.php
+++ b/typo3/sysext/backend/Classes/View/Drawing/BackendLayoutRenderer.php
@@ -51,6 +51,8 @@ use TYPO3\CMS\Fluid\View\TemplateView;
  *
  * - Initializes the clipboard used in the page layout
  * - Inserts an encoded paste icon as JS which is made visible when clipboard elements are registered
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 class BackendLayoutRenderer
 {
diff --git a/typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php b/typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php
index 6cdcc814c750..1e0ea5358efd 100644
--- a/typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php
+++ b/typo3/sysext/backend/Classes/View/Drawing/DrawingConfiguration.php
@@ -29,6 +29,8 @@ use TYPO3\CMS\Core\Localization\LanguageService;
  * tt_content fields and CTypes.
  *
  * Corresponds to legacy public properties from PageLayoutView.
+ *
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
  */
 class DrawingConfiguration
 {
diff --git a/typo3/sysext/backend/Classes/View/PageLayoutContext.php b/typo3/sysext/backend/Classes/View/PageLayoutContext.php
index 7df86cca5894..b430589cee36 100644
--- a/typo3/sysext/backend/Classes/View/PageLayoutContext.php
+++ b/typo3/sysext/backend/Classes/View/PageLayoutContext.php
@@ -36,6 +36,9 @@ use TYPO3\CMS\Core\Site\SiteFinder;
 use TYPO3\CMS\Core\Type\Bitmask\Permission;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 
+/**
+ * @internal this is experimental and subject to change in TYPO3 v10 / v11
+ */
 class PageLayoutContext
 {
     /**
-- 
GitLab