Skip to content

Commit 50ca5a8

Browse files
API Deprecate API which will be removed (#1270)
1 parent 3afdc7d commit 50ca5a8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Controllers/ElementalAreaController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,11 @@ public function save(array $data, Form $form): HTTPResponse
162162
* @param array $data
163163
* @param int $elementID
164164
* @return array
165+
* @deprecated 5.4.0 Will be removed without equivalent functionality to replace it.
165166
*/
166167
public static function removeNamespacesFromFields(array $data, $elementID)
167168
{
169+
Deprecation::noticeWithNoReplacment('5.4.0');
168170
$output = [];
169171
$template = sprintf(EditFormFactory::FIELD_NAMESPACE_TEMPLATE, $elementID, '');
170172
foreach ($data as $key => $value) {

src/Models/BaseElement.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,9 +653,11 @@ public function getRenderTemplates($suffix = '')
653653
* Given form data (wit
654654
*
655655
* @param $data
656+
* @deprecated 5.4.0 Will be removed without equivalent functionality to replace it.
656657
*/
657658
public function updateFromFormData($data)
658659
{
660+
Deprecation::noticeWithNoReplacment('5.4.0');
659661
$cmsFields = $this->getCMSFields();
660662

661663
foreach ($data as $field => $datum) {

0 commit comments

Comments
 (0)