Class SchemaOrgFieldMappingNotificationSubscriber
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog.SchemaOrg
- Assembly
- Dynamicweb.Ecommerce.dll
Removes Schema.org field mappings whose language no longer exists, so a deleted language does not leave configuration behind that can never be applied again.
[Subscribe("DWN_LANGUAGES_AfterDeleteLanguage")]
public class SchemaOrgFieldMappingNotificationSubscriber : NotificationSubscriber, IComparable<NotificationSubscriber>
- Inheritance
-
SchemaOrgFieldMappingNotificationSubscriber
- Implements
- Inherited Members
Methods
OnNotify(string, NotificationArgs)
Called when the LanguageDeleted notification fires.
public override void OnNotify(string notification, NotificationArgs args)
Parameters
notificationstringThe notification that was fired. This value is in lowercase.
argsNotificationArgsThe arguments related to the fired notification.