jsonSerialize(); $data['iconUrl'] = EchoNotificationFormatter::getIconUrl( $model->getIconType(), $this->language->getDir() ); $data['links']['primary'] = EchoLinkNormalizer::normalizePrimaryLink( $data['links']['primary'] ); $data['links']['secondary'] = EchoLinkNormalizer::normalizeSecondaryLinks( $data['links']['secondary'] ); return $data; } }