Skip to content

Instantly share code, notes, and snippets.

@soen
Last active June 26, 2016 14:48
Show Gist options
  • Save soen/654693722b14df460ce6ccba10518a0e to your computer and use it in GitHub Desktop.
Save soen/654693722b14df460ce6ccba10518a0e to your computer and use it in GitHub Desktop.
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