[TASK] Mark render function as deprecated 73/48073/5
authorMarcin Krzy┼╝anowski <m.krzyzanowski@macopedia.pl>
Wed, 11 May 2016 09:13:35 +0000 (12:13 +0300)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 11 May 2016 18:20:43 +0000 (20:20 +0200)
Render function from SoloFieldContainer class has been
marked as deprecated now. It is not used in core anymore.

Resolves: #76101
Releases: master
Change-Id: I276f6b047b6104863f7f7d6c31a713c4df545fbf
Reviewed-on: https://review.typo3.org/48073
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Container/SoloFieldContainer.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-76101-RemoveSoloFieldContainer.rst [new file with mode: 0644]

index c6682c0..e9425a5 100644 (file)
@@ -32,9 +32,11 @@ class SoloFieldContainer extends AbstractContainer
      * Entry method
      *
      * @return array As defined in initializeResultArray() of AbstractNode
+     * @deprecated since TYPO3 v8, will be removed in TYPO3 v9
      */
     public function render()
     {
+        GeneralUtility::logDeprecatedFunction();
         $table = $this->data['tableName'];
         $fieldToRender = $this->data['singleFieldToRender'];
         $recordTypeValue = $this->data['recordTypeValue'];
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Deprecation-76101-RemoveSoloFieldContainer.rst b/typo3/sysext/core/Documentation/Changelog/master/Deprecation-76101-RemoveSoloFieldContainer.rst
new file mode 100644 (file)
index 0000000..ba6172a
--- /dev/null
@@ -0,0 +1,26 @@
+===============================================
+Deprecation: #76101 - remove SoloFieldContainer
+===============================================
+
+Description
+===========
+
+Render function from SoloFieldContainer class has been marked as deprecated now. It is not used in core anymore.
+
+
+Impact
+======
+
+Using the method will trigger a deprecation log entry.
+
+
+Affected Installations
+======================
+
+Instances with custom extensions that use render from SoloFieldContainer.
+
+
+Migration
+=========
+
+Use render method from the ListOfFieldsContainer class.