Last active
June 26, 2016 14:48
-
-
Save soen/654693722b14df460ce6ccba10518a0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Sitecore.Diagnostics; | |
using Sitecore.Pipelines.ExpandInitialFieldValue; | |
namespace CustomExpandTokenProcessors.Pipelines | |
{ | |
public class CustomTokenReplacer : ExpandInitialFieldValueProcessor | |
{ | |
private const string Token = "$customtoken"; | |
public override void Process(ExpandInitialFieldValueArgs args) | |
{ | |
Assert.ArgumentNotNull(args, "args"); | |
// TODO: Add your own custom token replacement logic here... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment