diff --git a/src/Controllers/ElementalAreaController.php b/src/Controllers/ElementalAreaController.php index 399a299e..915efd97 100644 --- a/src/Controllers/ElementalAreaController.php +++ b/src/Controllers/ElementalAreaController.php @@ -162,9 +162,11 @@ public function save(array $data, Form $form): HTTPResponse * @param array $data * @param int $elementID * @return array + * @deprecated 5.4.0 Will be removed without equivalent functionality to replace it. */ public static function removeNamespacesFromFields(array $data, $elementID) { + Deprecation::noticeWithNoReplacment('5.4.0'); $output = []; $template = sprintf(EditFormFactory::FIELD_NAMESPACE_TEMPLATE, $elementID, ''); foreach ($data as $key => $value) { diff --git a/src/Models/BaseElement.php b/src/Models/BaseElement.php index f26fa9f7..020e2d16 100644 --- a/src/Models/BaseElement.php +++ b/src/Models/BaseElement.php @@ -653,9 +653,11 @@ public function getRenderTemplates($suffix = '') * Given form data (wit * * @param $data + * @deprecated 5.4.0 Will be removed without equivalent functionality to replace it. */ public function updateFromFormData($data) { + Deprecation::noticeWithNoReplacment('5.4.0'); $cmsFields = $this->getCMSFields(); foreach ($data as $field => $datum) {