Hi All,
Arabic content changes not available in page getChanges method
While editing the page from admin panel in the multi-language field, added a hook to save the changes made to the page.
$this->pages->addHookAfter('saveReady', $this, 'hookUpdateLog');
public function hookUpdateLog(HookEvent $event) {
$page = $event->arguments[0];
if(in_array($page->template->name, $this->templateList)) {
$this->logFieldChanges($page);
}
}
public function logFieldChanges($page) {
$changes = $page->getChanges(); //This changes does not contain the field of arabic changes.
}
Please let me know, If I am approaching in a right way.