/** * @param form_persistentdocument_baseform $form */ protected function getNotificationsToUpdate($form) { $notifications = array(); $notification = $form->getAcknowledgmentNotification(); if ($notification !== null) { $notifications[] = $notification; } return $notifications; }