Skip to content

Instantly share code, notes, and snippets.

@websterian
Created June 12, 2017 20:32
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 websterian/30b80416af318e1166ac605ecf301eca to your computer and use it in GitHub Desktop.
Save websterian/30b80416af318e1166ac605ecf301eca to your computer and use it in GitHub Desktop.
A code snippet to add a block to the GetEntityView pipeline
services.Sitecore()
.Pipelines(
pipeLineConfig =>
pipeLineConfig.ConfigurePipeline<IGetEntityViewPipeline>(
config => config.Add<ModifyViewsBlock>()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment