public void Process( Sitecore.Pipelines.GetContentEditorWarnings.GetContentEditorWarningsArgs args) { Sitecore.Diagnostics.Assert.IsNotNull(args, "args"); Sitecore.Data.Items.Item currentItem = args.Item; Sitecore.Diagnostics.Assert.IsNotNull(currentItem, "args.Item"); if (ItemNamingHelper.AreContentEditorWarningsOn()) { if (currentItem.Name != currentItem.DisplayName && ItemNamingHelper.StorePrettyNameInDisplayName() && ItemNamingHelper.HasPresentation(currentItem) && ItemNamingHelper.IsContentRoot(currentItem)) { this.AddNotification(message, currentItem, args); } } }