Last active
July 4, 2018 12:47
-
-
Save netojoa/434dfc404ce88263424e41405f64aa4a 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.Mvc.Helpers; | |
namespace Stockpick.Forms.Feature.ExperienceForms.Extensions | |
{ | |
public static class HtmlHelperExtensions | |
{ | |
public static bool IsExperienceForms(this SitecoreHelper helper) | |
{ | |
return Sitecore.Context.Request.QueryString["sc_formmode"] != null; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment