Need to publicize some things for the REST service to work
This commit is contained in:
@@ -49,7 +49,7 @@ namespace Umbraco.Core.PropertyEditors
|
||||
/// <summary>
|
||||
/// Returns the property editors
|
||||
/// </summary>
|
||||
public IEnumerable<PropertyEditor> PropertyEditors
|
||||
public virtual IEnumerable<PropertyEditor> PropertyEditors
|
||||
{
|
||||
get { return _unioned.Value; }
|
||||
}
|
||||
@@ -59,7 +59,7 @@ namespace Umbraco.Core.PropertyEditors
|
||||
/// </summary>
|
||||
/// <param name="alias"></param>
|
||||
/// <returns></returns>
|
||||
public PropertyEditor GetByAlias(string alias)
|
||||
public virtual PropertyEditor GetByAlias(string alias)
|
||||
{
|
||||
return PropertyEditors.SingleOrDefault(x => x.Alias == alias);
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace Umbraco.Web.PropertyEditors
|
||||
/// The default validator used is the RequiredValueValidator but this can be overridden by property editors
|
||||
/// if they need to do some custom validation, or if the value being validated is a json object.
|
||||
/// </remarks>
|
||||
internal override ManifestValueValidator RequiredValidator
|
||||
public override ManifestValueValidator RequiredValidator
|
||||
{
|
||||
get { return new RequiredTagsValueValidator(); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user