/** * Called by the FieldService whenever a field is updated into the given $form. * @param form_persistentdocument_baseform $form */ public function onFieldChanged($form) { if ($form->isContextLangAvailable()) { $this->publishIfPossible($form->getId()); $this->updateNotifications($form); } }