Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@soen
Last active June 26, 2016 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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